diff --git a/js/jquery.mobile.support.js b/js/jquery.mobile.support.js index 15297173..aa8dd967 100644 --- a/js/jquery.mobile.support.js +++ b/js/jquery.mobile.support.js @@ -38,9 +38,9 @@ function baseTagTest() { href = base.attr( "href" ); } - link = $( "" ).prependTo( fakeBody ); + link = $( "" ).prependTo( fakeBody ); rebase = link[ 0 ].href; - base[ 0 ].href = href ? href : location.pathname; + base[ 0 ].href = href || location.pathname; if ( fauxEle ) { fauxEle.remove(); @@ -107,7 +107,7 @@ $.mobile.ajaxBlacklist = // This simply reappends the CSS in place, which for some reason makes it apply if ( nokiaLTE7_3 ) { $(function() { - $( "head link[rel=stylesheet]" ).attr( "rel", "alternate stylesheet" ).attr( "rel", "stylesheet" ); + $( "head link[rel='stylesheet']" ).attr( "rel", "alternate stylesheet" ).attr( "rel", "stylesheet" ); }); } @@ -116,4 +116,4 @@ if ( !$.support.boxShadow ) { $( "html" ).addClass( "ui-mobile-nosupport-boxshadow" ); } -})( jQuery ); \ No newline at end of file +})( jQuery );