Changes between Initial Version and Version 1 of Ticket #7649, comment 1


Ignore:
Timestamp:
Oct 19, 2012, 3:09:24 PM (9 years ago)
Author:
mikesherov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7649, comment 1

    initial v1  
    11There is bug in _checkOffset: function(inst, offset, isFixed) in jquery-ui.js
    2 
     2{{{
    33var viewWidth = document.documentElement.clientWidth + $(document).scrollLeft();
    44var viewHeight = document.documentElement.clientHeight + $(document).scrollTop();
     5}}}
    56
    67document.documentElement.clientWidth and document.documentElement.clientHeight return
    7 wrong value in IE 7 and IE 8
     8wrong value in IE 7 and IE 8. Should be
    89
    9 Should use $(window).width() and $(window).height() instead
     10{{{
     11var viewWidth = $(window).width() + $(document).scrollLeft();
     12var viewHeight = $(window).height() + $(document).scrollTop();
     13}}}