diff --git a/js/jQuery.mobile.js b/js/jQuery.mobile.js index e4266701..5cd7ea81 100644 --- a/js/jQuery.mobile.js +++ b/js/jQuery.mobile.js @@ -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');