mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
Merge "Drop unnecessary watchstar icon classes on toggle"
This commit is contained in:
commit
63dbf2ad06
|
@ -6,6 +6,10 @@ module.exports = function () {
|
|||
return;
|
||||
}
|
||||
watchElement.classList.remove(
|
||||
// Vector attaches two icon classes to the element.
|
||||
// Remove the mw-ui-icon one rather than managing both.
|
||||
'mw-ui-icon-star',
|
||||
'mw-ui-icon-unStar',
|
||||
'mw-ui-icon-wikimedia-unStar',
|
||||
'mw-ui-icon-wikimedia-star',
|
||||
'mw-ui-icon-wikimedia-halfStar'
|
||||
|
|
Loading…
Reference in a new issue