MDL-66077 core: Loadingicon needs jQuery nodes
authorAndrew Nicols <andrew@nicols.co.uk>
Sat, 5 Oct 2019 04:17:29 +0000 (12:17 +0800)
committerMathew May <mathewm@hotmail.co.nz>
Mon, 28 Oct 2019 05:55:12 +0000 (13:55 +0800)
Part of MDL-66074

lib/amd/build/loadingicon.min.js
lib/amd/build/loadingicon.min.js.map
lib/amd/src/loadingicon.js

index d1ad15e..7b6cef9 100644 (file)
Binary files a/lib/amd/build/loadingicon.min.js and b/lib/amd/build/loadingicon.min.js differ
index 24d3c45..000d618 100644 (file)
Binary files a/lib/amd/build/loadingicon.min.js.map and b/lib/amd/build/loadingicon.min.js.map differ
index a8886c9..76ef020 100644 (file)
@@ -44,7 +44,7 @@ define(['jquery', 'core/templates'], function($, Templates) {
         return getIcon()
         .then(function(html) {
             var loadingIcon = $(html).hide();
-            container.append(loadingIcon);
+            $(container).append(loadingIcon);
             loadingIcon.fadeIn(150);
 
             return loadingIcon;
@@ -65,7 +65,7 @@ define(['jquery', 'core/templates'], function($, Templates) {
         return getIcon()
         .then(function(html) {
             var loadingIcon = $(html).hide();
-            container.append(loadingIcon);
+            $(container).append(loadingIcon);
             loadingIcon.fadeIn(150);
 
             return $.when(loadingIcon.promise(), loadingIconPromise);