mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
Merge "Hygiene: move CategoryAddOverlay window use to client"
This commit is contained in:
commit
eb8b6d492f
|
@ -10,6 +10,9 @@
|
|||
|
||||
loader.loadModule( 'mobile.categories.overlays', true ).done( function ( loadingOverlay ) {
|
||||
var CategoryOverlay = M.require( 'mobile.categories.overlays/CategoryOverlay' );
|
||||
M.on( 'category-added', function () {
|
||||
window.location.hash = '#/categories';
|
||||
} );
|
||||
|
||||
loadingOverlay.hide();
|
||||
result.resolve( new CategoryOverlay( {
|
||||
|
|
Loading…
Reference in a new issue