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.
1 parent 82b8149 commit f5b8ba8Copy full SHA for f5b8ba8
lib/web/mage/backend/bootstrap.js
@@ -7,11 +7,11 @@
7
define([
8
'jquery',
9
'mage/apply/main',
10
+ 'mage/backend/notification',
11
'Magento_Ui/js/lib/knockout/bootstrap',
12
'mage/mage',
- 'mage/translate',
13
- 'mage/backend/notification'
14
-], function ($, mage) {
+ 'mage/translate'
+], function ($, mage, notification) {
15
'use strict';
16
17
var bootstrap;
@@ -108,7 +108,7 @@ define([
108
/*
109
* Initialization of notification widget
110
*/
111
- $('body').mage('notification');
+ notification({}, $('body'));
112
};
113
114
$(bootstrap);
0 commit comments