diff --git a/group/clientlib.js b/group/clientlib.js index 44d738d8f3734..9b0c41f4d634c 100644 --- a/group/clientlib.js +++ b/group/clientlib.js @@ -183,7 +183,7 @@ var createLoaderImg = function (elClass, parentId, wwwRoot) { } var loadingImg = document.createElement("img"); - loadingImg.setAttribute("src", M.util.image_url('moodle', '/i/ajaxloader')); + loadingImg.setAttribute("src", M.util.image_url('/i/ajaxloader', 'moodle')); loadingImg.setAttribute("class", elClass); loadingImg.setAttribute("alt", "Loading"); loadingImg.setAttribute("id", "loaderImg");