Merge branch 'MDL-78962_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

This commit is contained in:
Jun Pataleta
2023-08-10 18:44:29 +07:00
committed by Huong Nguyen
2 changed files with 4 additions and 4 deletions
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -36,7 +36,7 @@ define(['jquery', 'core/templates'], function($, Templates) {
* Resolution of the returned promise causes the icon to be faded out and removed.
*
* @method addIconToContainer
* @param {jQuery} container The element to add the spinner to
* @param {jQuery|HTMLElement} container The element to add the spinner to
* @return {Promise} The Promise used to create the icon.
*/
var addIconToContainer = function(container) {
@@ -56,7 +56,7 @@ define(['jquery', 'core/templates'], function($, Templates) {
* Resolution of the returned promise causes the icon to be faded out and removed.
*
* @method addIconToContainerWithPromise
* @param {jQuery} container The element to add the spinner to
* @param {jQuery|HTMLElement} container The element to add the spinner to
* @param {Promise} loadingIconPromise The jQuery Promise which determines the removal of the icon
* @return {jQuery} The Promise used to create and then remove the icon.
*/
@@ -88,7 +88,7 @@ define(['jquery', 'core/templates'], function($, Templates) {
* Resolution of the returned promise causes the icon to be faded out and removed.
*
* @method addIconToContainerWithPromise
* @param {jQuery} container The element to add the spinner to
* @param {jQuery|HTMLElement} container The element to add the spinner to
* @return {Promise} A jQuery Promise to resolve when ready
*/
var addIconToContainerWithPromise = function(container) {