MDL-83082 core_user: Set a size for the loading icon background image

This commit is contained in:
Jun Pataleta 2024-09-10 19:09:27 +08:00
parent 09e56f2d1a
commit 2c9a6c8535
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7

View File

@ -182,7 +182,8 @@ M.core_user.init_user_selector = function(Y, name, hash, extrafields, lastsearch
this.iotransactions[iotrans.id] = iotrans;
this.lastsearch = value;
this.listbox.setStyle('background','url(' + M.util.image_url('i/loading', 'moodle') + ') no-repeat center center');
this.listbox.setStyle('background', 'url(' + M.util.image_url('i/loading', 'moodle') + ') no-repeat center center');
this.listbox.setStyle('background-size', '3em');
},
/**
* Handle what happens when we get some data back from the search.