Fix download icon spinner

Regression, introduced in
I6e474562ba5f2c704364c9d7b49f982f7bab8a18

Bug: T182162
Change-Id: I56464d42e437a94b2008338b00f49b4e0b086561
This commit is contained in:
jdlrobson 2018-01-29 10:22:09 -08:00 committed by Jdlrobson
parent 780f3c5e07
commit 1e56e46724

View file

@ -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();
},