Fix action=edit links for NWE

We added support loading NWE from action=edit in I35208cce069
but missed this check in the front-end.

Bug: T165238
Change-Id: I2732eaa81a3f968b34c4e878b2ad36de981dd567
This commit is contained in:
Ed Sanders 2017-05-15 11:52:06 +01:00
parent 2f40972807
commit 9342e45f7b

View file

@ -362,7 +362,7 @@
mw.config.get( 'wgAction' ) === 'edit' ||
mw.config.get( 'wgAction' ) === 'submit'
);
isEditPage = conf.singleEditTab && (
isEditPage = (
uri.query.action === 'edit' ||
uri.query.action === 'submit'
);