diff --git a/js/jquery.mobile.collapsible.js b/js/jquery.mobile.collapsible.js index e5305789..91e1ee5c 100644 --- a/js/jquery.mobile.collapsible.js +++ b/js/jquery.mobile.collapsible.js @@ -133,18 +133,15 @@ $.widget( "mobile.collapsible", $.mobile.widget, { } collapsibleHeading - .bind({ - "tap": function(){ + .bind("vclick", function(e){ if( collapsibleHeading.is('.ui-collapsible-heading-collapsed') ){ collapsibleContain.trigger('expand'); } else { collapsibleContain.trigger('collapse'); } - return false; - }, - "click": false - }); + e.preventDefault(); + }); } }); })( jQuery ); \ No newline at end of file