mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-24 22:23:42 +00:00
Fixed event binding for fixed toolbars.
This commit is contained in:
parent
c2beace760
commit
0304159f63
1 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ $.fixedToolbars = (function(){
|
|||
return thisel.is('.ui-header') ? (thisTop + thisHeight <= fromTop) : (thisTop > fromTop + screenHeight);
|
||||
}
|
||||
|
||||
|
||||
$(function() {
|
||||
$(document)
|
||||
.bind('tap',function(e){
|
||||
if( !$(e.target).closest(ignoreTargets).length ){
|
||||
|
|
@ -91,7 +91,7 @@ $.fixedToolbars = (function(){
|
|||
showAfterScroll = false;
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
//hide on resize?
|
||||
$(window).resize(function(){ $.fixedToolbars.hide(true); });
|
||||
|
|
|
|||
Loading…
Reference in a new issue