Make the setting item toggle on click

Selection was not removed from other items when clicked.

Change-Id: Ie460ecc6504ccbe2abc217ba2e0a027f407c31cc
This commit is contained in:
Santhosh Thottingal
2012-10-17 15:36:29 +05:30
parent b486528cdf
commit 90de05cb97

View File

@@ -115,6 +115,7 @@
$settingsLink.on( 'click', function () {
var module = $( this ).data( 'module' );
module.render();
$settingsMenuItems.find( '.menu-section' ).removeClass( 'active' );
$( this ).addClass( 'active' );
} );