remove active link class before leaving to an external page. Fixes #375

This commit is contained in:
scottjehl 2010-11-03 18:56:21 -04:00
parent 23689f2379
commit fae3a93f26

View file

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