Skip to content

Commit

Permalink
Fixed centering issue in IE6 (non-standards compliant mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaz303 committed Aug 27, 2008
1 parent 1691323 commit 7914826
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/javascripts/jquery.boxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ Boxy.prototype = {
var o = [0, 0];
} else {
var o = jQuery.browser.msie ?
[document.documentElement.scrollLeft, document.documentElement.scrollTop] :
[document.body.scrollLeft || document.documentElement.scrollLeft,
document.body.scrollTop || document.documentElement.scrollTop] :
[window.pageXOffset, window.pageYOffset];
}
var s = [jQuery(window).width(), jQuery(window).height()];
Expand Down

0 comments on commit 7914826

Please sign in to comment.