mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-19 20:01:52 +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
|
|
@ -244,6 +244,8 @@
|
||||||
//to-do: make sure this only runs one time on a page (or maybe per component)
|
//to-do: make sure this only runs one time on a page (or maybe per component)
|
||||||
return $el.not('[data-mobilized]').each(function(){
|
return $el.not('[data-mobilized]').each(function(){
|
||||||
|
|
||||||
|
var $el = $(this);
|
||||||
|
|
||||||
//hide no-js content
|
//hide no-js content
|
||||||
$el.find('[data-role="nojs"]').addClass('ui-nojs');
|
$el.find('[data-role="nojs"]').addClass('ui-nojs');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue