summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js')
-rw-r--r--MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js b/MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js
index a0bfc2d4..9c54557d 100644
--- a/MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js
+++ b/MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js
@@ -2,9 +2,7 @@
'use strict';
mw.uls.changeLanguage = function ( language ) {
- var page;
-
- page = 'Special:MyLanguage/' + mw.config.get( 'wgPageName' );
+ var page = 'Special:MyLanguage/' + mw.config.get( 'wgPageName' );
if ( mw.config.get( 'wgTranslatePageTranslation' ) === 'translation' ) {
page = page.replace( /\/[^/]+$/, '' );