Skip to content

Commit

Permalink
Lintfree
Browse files Browse the repository at this point in the history
  • Loading branch information
bbarakaci committed Aug 21, 2012
1 parent ff2245d commit bb05dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fixto.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ var fixto = (function ($, window, document) {
className: 'fixto-fixed'
},
// at ie8 maybe only in vm window resize event fires everytime an element is resized.
_toresize : $.browser.msie && $.browser.version == '8.0' ? document.documentElement : window,
_toresize : $.browser.msie && $.browser.version === '8.0' ? document.documentElement : window,
_onscroll: function _onscroll() {
this._scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
this._parentBottom = (this.parent.offsetHeight + this._fullOffset('offsetTop', this.parent)) - computedStyle.getFloat(this.parent, 'paddingBottom');
Expand Down
2 changes: 1 addition & 1 deletion test/mimic-node_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
});


}(jQuery));
}(window.jQuery));

0 comments on commit bb05dcc

Please sign in to comment.