Allow NWE on non-VE namespaces

Bug: T146182
Change-Id: I9547dfd591ad1e68e045b4928765a95895e37737
This commit is contained in:
Alex Monk 2016-10-03 22:20:18 +01:00
parent 1e89ab7d7a
commit d15034011f

View file

@ -965,7 +965,7 @@
}
// Set up the tabs appropriately if the user has VE on
if ( init.isVisualAvailable && userPrefPreferShow ) {
if ( init.isAvailable && userPrefPreferShow ) {
// … on two-edit-tab wikis, or single-edit-tab wikis, where the user wants both …
if ( !conf.singleEditTab || tabPreference === 'multi-tab' ) {
// … set the skin up with both tabs and both section edit links.