Init: Remove duplicate check for showBetaWelcome

This is already checked in #shouldShowWelcomeDialog

Change-Id: Ic2a5ab94b70a2480b6c0f3bf894db30da249b23a
This commit is contained in:
Ed Sanders 2020-09-08 11:55:49 +01:00
parent fafd0b93ad
commit 4f192c8cca

View file

@ -1385,7 +1385,6 @@
showWikitextWelcome &&
// At least one editor is available (T201928)
( init.isVisualAvailable || init.isWikitextAvailable || $( '#wpTextbox1' ).length ) &&
mw.config.get( 'wgVisualEditorConfig' ).showBetaWelcome &&
isEditPage &&
init.shouldShowWelcomeDialog() &&
(