We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a40ddc9 + a896fd4 commit 590916cCopy full SHA for 590916c
lib/web/mage/loader_old.js
@@ -197,13 +197,6 @@ define([
197
if (settings && settings.showLoader) {
198
ctx = this._getJqueryObj(settings.loaderContext);
199
ctx.trigger('processStart');
200
-
201
- // Check to make sure the loader is there on the page if not report it on the console.
202
- // NOTE that this check should be removed before going live. It is just an aid to help
203
- // in finding the uses of the loader that maybe broken.
204
- if (window.console && !ctx.parents('[data-role="loader"]').length) {
205
- console.warn('Expected to start loader but did not find one in the dom');
206
- }
207
}
208
},
209
0 commit comments