mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-08 00:20:59 +00:00
Some coding style cleanups
This commit is contained in:
parent
575f4f350a
commit
95674eb3d1
1 changed files with 4 additions and 4 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue