ULS - Language settings navigation fix
Hide the popup when navigating to other window. Change-Id: I7f1f6eef08249d6e40225d5ad7036b39e7c26b0e
This commit is contained in:
@@ -209,7 +209,7 @@
|
||||
var $back = $( '<a>' )
|
||||
.prop( 'href', '#' )
|
||||
.prop( 'title', 'Back to display settings' )
|
||||
.text( '← Back to display settings' );
|
||||
.text( '← Back to display settings' ); // FIXME i18n
|
||||
|
||||
$back.click( function() {
|
||||
uls.hide();
|
||||
@@ -217,7 +217,6 @@
|
||||
} );
|
||||
|
||||
uls.$menu.find( 'div.uls-title' ).append( $back );
|
||||
uls.show();
|
||||
},
|
||||
|
||||
onSelect: function( langCode ) {
|
||||
|
||||
@@ -138,8 +138,6 @@
|
||||
},
|
||||
|
||||
click: function( e ) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
if ( !this.shown ) {
|
||||
this.show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user