From 6711e11e972760ad0ebb03f4fdc0d9ef9b2ff9c6 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 19 Nov 2010 21:32:17 -0500 Subject: [PATCH] made sure collapsible doesn't cause the address bar to show up on ios when clicked. Fixes #500 --- js/jquery.mobile.collapsible.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.collapsible.js b/js/jquery.mobile.collapsible.js index bd85b563..62667875 100644 --- a/js/jquery.mobile.collapsible.js +++ b/js/jquery.mobile.collapsible.js @@ -132,7 +132,7 @@ $.widget( "mobile.collapsible", $.mobile.widget, { set.last().data('collapsible-last', true) } - collapsibleHeading.click(function(){ + collapsibleHeading.bind( $.support.touch ? "touchstart" : "click", function(){ if( collapsibleHeading.is('.ui-collapsible-heading-collapsed') ){ collapsibleContain.trigger('expand'); }