mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-22 07:04:43 +00:00
ensure tapping the toolbar itself (or something in it) will not trigger a toggle of the toolbars.
This commit is contained in:
parent
b70832981d
commit
aae2d1b22c
1 changed files with 2 additions and 2 deletions
|
|
@ -185,8 +185,8 @@
|
|||
|
||||
// tap toggle
|
||||
$el.closest( ".ui-page" )
|
||||
.bind( "vclick", function(){
|
||||
if( o.tapToggle ){
|
||||
.bind( "vclick", function( e ){
|
||||
if( o.tapToggle && $el.find( e.target ).length === 0 ){
|
||||
self.toggle();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue