Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for issue #2017. Clear active link on vclick so there can be only…

… one active link at a time.
  • Loading branch information...
commit 001e588c9247f5e16544b8094d008ab201f6911e 1 parent e28ad6d
@gseguin gseguin authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  js/jquery.mobile.navigation.js
View
1  js/jquery.mobile.navigation.js
@@ -1074,6 +1074,7 @@
var link = findClosestLink( event.target );
if ( link ) {
if ( path.parseUrl( link.getAttribute( "href" ) || "#" ).hash !== "#" ) {
+ removeActiveLinkClass( true );
$activeClickedLink = $( link ).closest( ".ui-btn" ).not( ".ui-disabled" );
$activeClickedLink.addClass( $.mobile.activeBtnClass );
$( "." + $.mobile.activePageClass + " .ui-btn" ).not( link ).blur();
Please sign in to comment.
Something went wrong with that request. Please try again.