Some coding style cleanups

This commit is contained in:
Eddie Monge 2011-10-17 16:39:05 -07:00
parent 575f4f350a
commit 95674eb3d1

View file

@ -38,9 +38,9 @@ function baseTagTest() {
href = base.attr( "href" );
}
link = $( "<a href='testurl'></a>" ).prependTo( fakeBody );
link = $( "<a href='testurl' />" ).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 );
})( jQuery );