ArticleTargetSaver: ve.init may be undefined

Bug: T294981
Change-Id: Ibd1cf9db9ebb58e7b7721e35991dd4027506c0dd
This commit is contained in:
Bartosz Dziewoński 2021-11-03 22:12:33 +01:00
parent 98c19c4a23
commit f5f26d848d

View file

@ -222,7 +222,7 @@
errorformat: 'html',
errorlang: mw.config.get( 'wgUserLanguage' ),
errorsuselocal: true,
editingStatsId: window.ve && window.ve.init.editingSessionId
editingStatsId: window.ve && window.ve.init && window.ve.init.editingSessionId
},
data
);