Add icons in MobileMenuHook.
[philipp/winterrodeln/mediawiki_extensions/wrreport.git] / extension.json
index 770c8bca01226b8722f491346f97c4cec0bc3027..806d7bbf0f4dcabb1862ede31897837e35ee2933 100644 (file)
        },
        "ResourceModules": {
                "ext.wrreport": {
+                       "targets": [
+                               "mobile",
+                               "desktop"
+                       ],
                        "styles": [
                                "wrreport.css"
                        ],
                        "position": "top"
+               },
+               "ext.wrreport.icons": {
+                       "class": "ResourceLoaderImageModule",
+                       "selector": ".mw-ui-icon-wr-{name}:before",
+                       "images": {
+                               "regions": "regions.svg",
+                               "new-reports": "newreports.svg"
+                       }
                }
        },
        "ResourceFileModulePaths": {