Merge branch 'master' of github.com:jquery/jquery-mobile

This commit is contained in:
scottjehl 2010-09-28 08:57:31 -07:00
commit 7fe3d9a22f

View file

@ -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');