From bb8326876bb2ac06439cf3bb50ece94b12c3abfa Mon Sep 17 00:00:00 2001 From: Kin Blas Date: Thu, 29 Sep 2011 00:43:01 -0700 Subject: [PATCH] Fixes #2212 - Collapsible heading vclick issue - Switch to using "click" instead of "vclick" on collapsible headers since that is the only reliable way to prevent uncaught/mismatched clicks from firing on a different element. --- 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 f3ed05e8..67d69e13 100644 --- a/js/jquery.mobile.collapsible.js +++ b/js/jquery.mobile.collapsible.js @@ -140,7 +140,7 @@ $.widget( "mobile.collapsible", $.mobile.widget, { .trigger( o.collapsed ? "collapse" : "expand" ); collapsibleHeading - .bind( "vclick", function( event ) { + .bind( "click", function( event ) { var type = collapsibleHeading.is( ".ui-collapsible-heading-collapsed" ) ? "expand" : "collapse";