ULS - Language settings navigation fix

Hide the popup when navigating to other window.

Change-Id: I7f1f6eef08249d6e40225d5ad7036b39e7c26b0e
This commit is contained in:
Santhosh Thottingal
2012-08-20 10:54:54 +05:30
parent ca4ba4f270
commit 0d281887d3
2 changed files with 1 additions and 4 deletions

View File

@@ -209,7 +209,7 @@
var $back = $( '<a>' ) var $back = $( '<a>' )
.prop( 'href', '#' ) .prop( 'href', '#' )
.prop( 'title', 'Back to display settings' ) .prop( 'title', 'Back to display settings' )
.text( '← Back to display settings' ); .text( '← Back to display settings' ); // FIXME i18n
$back.click( function() { $back.click( function() {
uls.hide(); uls.hide();
@@ -217,7 +217,6 @@
} ); } );
uls.$menu.find( 'div.uls-title' ).append( $back ); uls.$menu.find( 'div.uls-title' ).append( $back );
uls.show();
}, },
onSelect: function( langCode ) { onSelect: function( langCode ) {

View File

@@ -138,8 +138,6 @@
}, },
click: function( e ) { click: function( e ) {
e.stopPropagation();
e.preventDefault();
if ( !this.shown ) { if ( !this.shown ) {
this.show(); this.show();
} }