6cdcc8ddfa
Template pages do not run the MobileFormatter (see MFMobileFormatterNamespaceBlacklist). As a result page.getLeadSectionElement() will return null When this happens do not change the edit icon to point to section 1. Instead give them the non-JS editor. After this patch, the feature remains as: * Page with lead section get the JS edit overlay for section 0 * Page without lead section but with other sections gets the JS overlay editor for section 1 * Pages that didn't run through MobileFormatter don't modify the edit link and just link to the fallback editor (useful for Template pages at this moment) Bug: T172948 Change-Id: Icee96e12f62ec13a1cbd3169c687fa4b3af70754 |
||
---|---|---|
.. | ||
skins.minerva.backtotop | ||
skins.minerva.base.reset | ||
skins.minerva.base.styles | ||
skins.minerva.categories | ||
skins.minerva.content.styles | ||
skins.minerva.editor | ||
skins.minerva.icons.images | ||
skins.minerva.icons.images.scripts | ||
skins.minerva.icons.images.variants | ||
skins.minerva.mainMenu | ||
skins.minerva.mainMenu.icons | ||
skins.minerva.mainMenu.styles | ||
skins.minerva.mainPage.styles | ||
skins.minerva.newusers | ||
skins.minerva.notifications | ||
skins.minerva.notifications.badge | ||
skins.minerva.scripts | ||
skins.minerva.scripts.top | ||
skins.minerva.tablet.scripts | ||
skins.minerva.tablet.styles | ||
skins.minerva.talk | ||
skins.minerva.toggling | ||
skins.minerva.userpage.icons | ||
skins.minerva.userpage.styles | ||
skins.minerva.watchstar |