Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
switch to stop propagation on checkbox/radio vmouse
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbender committed Oct 18, 2011
1 parent 18767e5 commit be59c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/jquery.mobile.forms.checkboxradio.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
.wrapAll( "<div class='ui-" + inputtype + "'></div>" );

label.bind({
vmouseover: function() {
vmouseover: function( event ) {
if ( $( this ).parent().is( ".ui-disabled" ) ) {
return false;
event.stopPropagation();
}
},

Expand Down

0 comments on commit be59c77

Please sign in to comment.