Avoid duplicate languagesettings dialog in page source
Bug: 48211 Change-Id: I78ad47b1875f9f6f40707fb05f948c939fe91b39
This commit is contained in:
@@ -58,7 +58,9 @@
|
||||
constructor: LanguageSettings,
|
||||
|
||||
init: function () {
|
||||
$( 'body' ).append( this.$window );
|
||||
if ( $( 'body' ).find( '#language-settings-dialog' ).length === 0 ) {
|
||||
$( 'body' ).append( this.$window );
|
||||
}
|
||||
this.hide();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user