Merge "Remove main page toggle check"

This commit is contained in:
jenkins-bot 2018-02-12 19:22:54 +00:00 committed by Gerrit Code Review
commit 45e3f024e0
1 changed files with 0 additions and 1 deletions

View File

@ -37,7 +37,6 @@
// avoid this running on Watchlist
if (
!page.inNamespace( 'special' ) &&
!mw.config.get( 'wgIsMainPage' ) &&
mw.config.get( 'wgAction' ) === 'view'
) {
init( $contentContainer, 'content-', page );