Commit ac0a7350 authored by Sven Franck's avatar Sven Franck

libs: Fixed JQM preventing panel toggle clicks to bubble

parent 1737358e
/* HACKS: #7155, #7162, #7154, #7292 /* HACKS: #7155, #7162, #7154, #7292, #7301
/*! /*!
* jQuery Mobile 1.4.3pre * jQuery Mobile 1.4.3pre
* Git HEAD hash: 77b5304ec0510824e6f014e6caf716701db6abd2 <> Date: Thu Mar 6 2014 16:14:07 UTC * Git HEAD hash: 77b5304ec0510824e6f014e6caf716701db6abd2 <> Date: Thu Mar 6 2014 16:14:07 UTC
...@@ -12990,7 +12990,6 @@ $.widget( "mobile.panel", { ...@@ -12990,7 +12990,6 @@ $.widget( "mobile.panel", {
_handleClick: function( e ) { _handleClick: function( e ) {
var link, var link,
panelId = this.element.attr( "id" ); panelId = this.element.attr( "id" );
if ( e.currentTarget.href.split( "#" )[ 1 ] === panelId && panelId !== undefined ) { if ( e.currentTarget.href.split( "#" )[ 1 ] === panelId && panelId !== undefined ) {
e.preventDefault(); e.preventDefault();
...@@ -13002,7 +13001,7 @@ $.widget( "mobile.panel", { ...@@ -13002,7 +13001,7 @@ $.widget( "mobile.panel", {
}); });
} }
this.toggle(); this.toggle();
return false; //return false;
} }
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment