ensure tapping the toolbar itself (or something in it) will not trigger a toggle of the toolbars.

This commit is contained in:
scottjehl 2011-12-20 17:44:20 +07:00
parent b70832981d
commit aae2d1b22c

View file

@ -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();
}
});