mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Init: Remove duplicate check for showBetaWelcome
This is already checked in #shouldShowWelcomeDialog Change-Id: Ic2a5ab94b70a2480b6c0f3bf894db30da249b23a
This commit is contained in:
parent
fafd0b93ad
commit
4f192c8cca
|
@ -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() &&
|
||||
(
|
||||
|
|
Loading…
Reference in a new issue