From 3954552b43b43aebb2e88b314c919d074ae58e74 Mon Sep 17 00:00:00 2001 From: Pavel Astakhov Date: Tue, 18 Apr 2017 12:44:45 +0600 Subject: [PATCH] Swap the enable/disable labels Bug: T163916 Change-Id: Ie868556fe31ea4aae976e94526cc96bb79803626 --- resources/ext.CodeMirror.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/ext.CodeMirror.js b/resources/ext.CodeMirror.js index 3d48d0b5..1d9870c8 100644 --- a/resources/ext.CodeMirror.js +++ b/resources/ext.CodeMirror.js @@ -312,9 +312,9 @@ var label; if ( useCodeMirror ) { - label = mw.msg( 'codemirror-enable-label' ); - } else { label = mw.msg( 'codemirror-disable-label' ); + } else { + label = mw.msg( 'codemirror-enable-label' ); } if ( wikiEditor ) {