mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-22 00:40:27 +00:00
move checkbox radio to enhanceWithin
This commit is contained in:
parent
18737f4940
commit
aa16aec358
1 changed files with 1 additions and 3 deletions
|
|
@ -186,9 +186,7 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
|
|||
|
||||
//auto self-init widgets
|
||||
$( document ).bind( "pagecreate create", function( e ){
|
||||
$( $.mobile.checkboxradio.prototype.options.initSelector, e.target )
|
||||
.not( ":jqmData(role='none'), :jqmData(role='nojs')" )
|
||||
.checkboxradio();
|
||||
$.mobile.checkboxradio.prototype.enhanceWithin( e.target );
|
||||
});
|
||||
|
||||
})( jQuery );
|
||||
|
|
|
|||
Loading…
Reference in a new issue