mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 21:24:45 +00:00
move slider to enhanceWith
This commit is contained in:
parent
63ab61cb89
commit
404010839d
1 changed files with 1 additions and 5 deletions
|
|
@ -316,11 +316,7 @@ $.widget( "mobile.slider", $.mobile.widget, {
|
|||
|
||||
//auto self-init widgets
|
||||
$( document ).bind( "pagecreate create", function( e ){
|
||||
|
||||
$( $.mobile.slider.prototype.options.initSelector, e.target )
|
||||
.not( ":jqmData(role='none'), :jqmData(role='nojs')" )
|
||||
.slider();
|
||||
|
||||
$.mobile.slider.prototype.enhanceWithin( e.target );
|
||||
});
|
||||
|
||||
})( jQuery );
|
||||
|
|
|
|||
Loading…
Reference in a new issue