HomePhabricator

Don't load mobile.editor.common on every page load

Authored by Florian.

Description

Don't load mobile.editor.common on every page load

Seperate init.js from mobile.categories and Overlays (moved Overlays to
mobile.categories.overlays). Add mobile.editor.common as dependency to
new mobile.categories.overlays and leave mobile.categories (which is
loaded on every page load, when the page has categories) with as least
dependencies and code as possible.

Load mobile.categories.overlays in init.js when needed (~ the user clicks
the categories button).

Bug: T98510
Change-Id: I3c936af6c93e8cb4931f06a59414a3c5482ee8ee

Details