mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-02 20:04:43 +00:00
move textinput to widget prototype enhanceWithin
This commit is contained in:
parent
9e63d40298
commit
4ccd9b1bb3
1 changed files with 1 additions and 5 deletions
|
|
@ -128,11 +128,7 @@ $.widget( "mobile.textinput", $.mobile.widget, {
|
|||
|
||||
//auto self-init widgets
|
||||
$( document ).bind( "pagecreate create", function( e ){
|
||||
|
||||
$( $.mobile.textinput.prototype.options.initSelector, e.target )
|
||||
.not( ":jqmData(role='none'), :jqmData(role='nojs')" )
|
||||
.textinput();
|
||||
|
||||
$.mobile.textinput.prototype.enhanceWithin( e.target );
|
||||
});
|
||||
|
||||
})( jQuery );
|
||||
|
|
|
|||
Loading…
Reference in a new issue