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