Permalink
Browse files

revert to wrapAll for checkbox and radio Fixes #3688

  • Loading branch information...
johnbender committed Mar 1, 2012
1 parent 52bb440 commit 77bfb5a30abc13a0181708bd5c8a8c3af6d111b0
Showing with 2 additions and 3 deletions.
  1. +2 −3 js/jquery.mobile.forms.checkboxradio.js
@@ -66,9 +66,8 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
// Wrap the input + label in a div
var wrapper = document.createElement('div');
wrapper.className = 'ui-' + inputtype;
input[0].parentNode.insertBefore(wrapper,input[0]);
wrapper.appendChild(input[0]);
wrapper.appendChild(label[0]);
input.add( label ).wrapAll( wrapper );
label.bind({
vmouseover: function( event ) {

0 comments on commit 77bfb5a

Please sign in to comment.