Permalink
Browse files

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.
  • Loading branch information...
1 parent f6b2a9c commit bb8326876bb2ac06439cf3bb50ece94b12c3abfa @jblas jblas committed Sep 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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";

0 comments on commit bb83268

Please sign in to comment.