Damn semicolons
This commit is contained in:
1 parent
d6cfcae45b
commit
5145618c39
27 files changed
+261
-263
No files matched your search
@@ -50,7 +50,7 @@ var ScrollSpy = new Class({
|
||||
min = typeOf(self.options.min) == 'function' ? self.options.min() : self.options.min,
|
||||
max = typeOf(self.options.max) == 'function' ? self.options.max() : self.options.max;
|
||||
|
||||
if(xy >= min && (max == 0 || xy <= max)) {
|
||||
if(xy >= min && (max === 0 || xy <= max)) {
|
||||
/* trigger enter event if necessary */
|
||||
if(!self.inside) {
|
||||
/* record as inside */
|
||||
@@ -90,4 +90,4 @@ var ScrollSpy = new Class({
|
||||
addListener: function() {
|
||||
this.start();
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user