Merge "Prevent page scroll to top while clicking on language settings icon"

This commit is contained in:
jenkins-bot
2018-01-05 06:59:13 +00:00
committed by Gerrit Code Review

View File

@@ -149,7 +149,9 @@
var $this = $( this );
$this.data( 'module' ).render();
if ( languageSettings.$window.is( ':visible' ) ) {
languageSettings.$window.scrollIntoView();
}
$settingsMenuItems.find( '.menu-section' ).removeClass( 'active' );
$this.addClass( 'active' );
} );