mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-04 06:40:24 +00:00
remove active link class before leaving to an external page. Fixes #375
This commit is contained in:
parent
23689f2379
commit
fae3a93f26
1 changed files with 4 additions and 2 deletions
|
|
@ -221,7 +221,7 @@
|
|||
}
|
||||
activeClickedLink = null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//for getting or creating a new page
|
||||
function changePage( to, transition, back, changeHash){
|
||||
|
|
@ -546,6 +546,8 @@
|
|||
$html.addClass( jQuery.event.special.orientationchange.orientation( $window ) );
|
||||
});
|
||||
|
||||
$window.load(hideBrowserChrome);
|
||||
$window
|
||||
.load(hideBrowserChrome)
|
||||
.unload(removeActiveLinkClass);
|
||||
|
||||
})( jQuery, this );
|
||||
|
|
|
|||
Loading…
Reference in a new issue