Make the setting item toggle on click
Selection was not removed from other items when clicked. Change-Id: Ie460ecc6504ccbe2abc217ba2e0a027f407c31cc
This commit is contained in:
@@ -115,6 +115,7 @@
|
||||
$settingsLink.on( 'click', function () {
|
||||
var module = $( this ).data( 'module' );
|
||||
module.render();
|
||||
$settingsMenuItems.find( '.menu-section' ).removeClass( 'active' );
|
||||
$( this ).addClass( 'active' );
|
||||
} );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user