Skip to content
This repository
Browse code

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
Ghislain Seguin authored August 31, 2011

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  js/jquery.mobile.navigation.js
1  js/jquery.mobile.navigation.js
@@ -1074,6 +1074,7 @@
1074 1074
 			var link = findClosestLink( event.target );
1075 1075
 			if ( link ) {
1076 1076
 				if ( path.parseUrl( link.getAttribute( "href" ) || "#" ).hash !== "#" ) {
  1077
+					removeActiveLinkClass( true );
1077 1078
 					$activeClickedLink = $( link ).closest( ".ui-btn" ).not( ".ui-disabled" );
1078 1079
 					$activeClickedLink.addClass( $.mobile.activeBtnClass );
1079 1080
 					$( "." + $.mobile.activePageClass + " .ui-btn" ).not( link ).blur();

0 notes on commit 001e588

Please sign in to comment.
Something went wrong with that request. Please try again.