diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js index bcd39b4bc2..41cfd7b346 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js @@ -970,7 +970,7 @@ if ( !conf.singleEditTab || tabPreference === 'multi-tab' ) { // … set the skin up with both tabs and both section edit links. init.setupSkin(); - } else if ( pageCanLoadVE && onlyTabIsVE ) { + } else if ( init.isVisualAvailable && pageCanLoadVE && onlyTabIsVE ) { // … on single-edit-tab wikis, where VE is the user's preferred editor // Handle section edit link clicks $( '.mw-editsection a' ).on( 'click', function ( e ) {