Skip to content

Commit 4f1f7c0

Browse files
committed
Merge pull request adobe#5287 from SAPlayer/patch-5
Remove the ability to switch language to the current language
2 parents ac84a6e + b17c774 commit 4f1f7c0

File tree

1 file changed

+1
-1
lines changed
  • src/extensions/default/DebugCommands

1 file changed

+1
-1
lines changed

src/extensions/default/DebugCommands/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ define(function (require, exports, module) {
151151

152152
function setLanguage(event) {
153153
locale = $select.val();
154-
$submit.prop("disabled", false);
154+
$submit.prop("disabled", locale === (curLocale || ""));
155155
}
156156

157157
// returns the localized label for the given locale

0 commit comments

Comments
 (0)