Merge "Remove main page toggle check"
This commit is contained in:
commit
45e3f024e0
|
@ -37,7 +37,6 @@
|
||||||
// avoid this running on Watchlist
|
// avoid this running on Watchlist
|
||||||
if (
|
if (
|
||||||
!page.inNamespace( 'special' ) &&
|
!page.inNamespace( 'special' ) &&
|
||||||
!mw.config.get( 'wgIsMainPage' ) &&
|
|
||||||
mw.config.get( 'wgAction' ) === 'view'
|
mw.config.get( 'wgAction' ) === 'view'
|
||||||
) {
|
) {
|
||||||
init( $contentContainer, 'content-', page );
|
init( $contentContainer, 'content-', page );
|
||||||
|
|
Loading…
Reference in New Issue