Fix for issue #900: buttons with rel attribute set to external don't show active state

This commit is contained in:
adammessinger 2011-01-28 16:58:39 +08:00 committed by Scott Jehl
parent 7f48419a29
commit 2bfdd02a51

View file

@ -697,7 +697,7 @@
// TODO: deprecated - remove at 1.0
!$.mobile.ajaxLinksEnabled ){
//remove active link class if external (then it won't be there if you come back)
removeActiveLinkClass(true);
window.setTimeout(function() {removeActiveLinkClass(true);}, 200);
//deliberately redirect, in case click was triggered
if( hasTarget ){