mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Remove duplicate icon loading
"login", "watchlist" and "logout" in skins.minerva.personalMenu.icons are already defined inside skins.minerva.mainMenu.icons which is loaded on all page views via CSS so we are loading this icon twice for no obvious reason. This is why ResourceLoader modules should never reference files outside their own module folder! Change-Id: I2097802cc2d42483ef4bdd1ccfa05e0f7b1bcad4
This commit is contained in:
parent
6e4c6c99bc
commit
041091864d
13
skin.json
13
skin.json
|
@ -493,19 +493,6 @@
|
|||
"selector": ".mw-ui-icon-minerva-{name}:before",
|
||||
"defaultColor": "#4A4F53",
|
||||
"images": {
|
||||
"login": {
|
||||
"file": {
|
||||
"ltr": "resources/skins.minerva.mainMenu.icons/logIn-ltr.svg",
|
||||
"rtl": "resources/skins.minerva.mainMenu.icons/logIn-rtl.svg"
|
||||
}
|
||||
},
|
||||
"logout": {
|
||||
"file": {
|
||||
"ltr": "resources/skins.minerva.mainMenu.icons/logOut-ltr.svg",
|
||||
"rtl": "resources/skins.minerva.mainMenu.icons/logOut-rtl.svg"
|
||||
}
|
||||
},
|
||||
"watchlist": "resources/skins.minerva.mainMenu.icons/watchlist.svg",
|
||||
"userSandbox": "resources/skins.minerva.personalMenu.icons/userSandbox.svg"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue