mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
Fix download icon spinner
Regression, introduced in I6e474562ba5f2c704364c9d7b49f982f7bab8a18 Bug: T182162 Change-Id: I56464d42e437a94b2008338b00f49b4e0b086561
This commit is contained in:
parent
780f3c5e07
commit
1e56e46724
|
@ -80,6 +80,10 @@
|
|||
* Replace download icon with a spinner
|
||||
*/
|
||||
showSpinner: function () {
|
||||
// FIXME: There is no spinner icon in Minerva, only in MobileFrontend
|
||||
// Hopefully when T177432 is resolved this and corresponding change in hideSpinner
|
||||
// should be unnecessary.
|
||||
this.options.glyphPrefix = 'mf';
|
||||
this.options.name = 'spinner';
|
||||
this.render();
|
||||
},
|
||||
|
@ -87,6 +91,7 @@
|
|||
* Restore download icon from spinner state
|
||||
*/
|
||||
hideSpinner: function () {
|
||||
this.options.glyphPrefix = 'minerva';
|
||||
this.options.name = GLYPH;
|
||||
this.render();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue