mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-28 03:30:27 +00:00
Merge branch 'master' of github.com:jquery/jquery-mobile
This commit is contained in:
commit
7fe3d9a22f
1 changed files with 3 additions and 1 deletions
|
|
@ -243,7 +243,9 @@
|
|||
function mobilize($el){
|
||||
//to-do: make sure this only runs one time on a page (or maybe per component)
|
||||
return $el.not('[data-mobilized]').each(function(){
|
||||
|
||||
|
||||
var $el = $(this);
|
||||
|
||||
//hide no-js content
|
||||
$el.find('[data-role="nojs"]').addClass('ui-nojs');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue