mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-01 13:40:22 +00:00
Fix for issue #3416 - getTopOffset() should subtract scrollTop not add it.
- Modified private utility function getTopOffset() so that it subracts scrollTop from top instead of adding it.
This commit is contained in:
parent
ff9b742723
commit
86f74cbe39
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ $.mobile.fixedToolbars = (function() {
|
|||
top = ele.offsetTop;
|
||||
|
||||
while ( ele && ele != body ) {
|
||||
top += ele.scrollTop || 0;
|
||||
top -= ele.scrollTop || 0;
|
||||
|
||||
if ( ele == op ) {
|
||||
top += op.offsetTop;
|
||||
|
|
|
|||
Loading…
Reference in a new issue