mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-83016 javascript: apply appropriate icon class to legacy spinner.
This commit is contained in:
parent
13c12756b4
commit
526e04f540
1 changed files with 1 additions and 2 deletions
|
@ -845,8 +845,7 @@ M.util.add_spinner = function(Y, node) {
|
||||||
|
|
||||||
var spinner = Y.Node.create('<img />')
|
var spinner = Y.Node.create('<img />')
|
||||||
.setAttribute('src', M.util.image_url(WAITICON.pix, WAITICON.component))
|
.setAttribute('src', M.util.image_url(WAITICON.pix, WAITICON.component))
|
||||||
.addClass('spinner')
|
.addClass('spinner icon')
|
||||||
.addClass('iconsmall')
|
|
||||||
.hide();
|
.hide();
|
||||||
|
|
||||||
node.append(spinner);
|
node.append(spinner);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue