diff --git a/src/extensions/default/DebugCommands/main.js b/src/extensions/default/DebugCommands/main.js index c28588bf8a0..de2b9cc5acb 100644 --- a/src/extensions/default/DebugCommands/main.js +++ b/src/extensions/default/DebugCommands/main.js @@ -151,7 +151,7 @@ define(function (require, exports, module) { function setLanguage(event) { locale = $select.val(); - $submit.prop("disabled", false); + $submit.prop("disabled", locale === (curLocale || "")); } // returns the localized label for the given locale