Skip to content

Commit 3f07aec

Browse files
author
Marcel Schmäing
committed
Merge pull request #3022 in SW/shopware from sw-12935/5.1/fixed-add-article-plugin to 5.1
* commit 'e4d020ebf6271c0a078a103cc8a03d253d6cf701': SW-12935 Fixed wrapper function in jquery plugins SW-12935 Fixed swAddArticle wrapper function
2 parents a63b292 + e4d020e commit 3f07aec

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

themes/Frontend/Responsive/frontend/_public/src/js/jquery.add-article.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;jQuery(function ($) {
1+
;(function($, window) {
22
'use strict';
33

44
/**
@@ -188,4 +188,4 @@
188188
$.publish('plugin/swAddArticle/onCloseModal', [ me ]);
189189
}
190190
});
191-
});
191+
})(jQuery, window);

themes/Frontend/Responsive/frontend/_public/src/js/jquery.collapse-cart.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;jQuery(function ($) {
1+
;(function($, window) {
22
'use strict';
33

44
$.plugin('swCollapseCart', {
@@ -428,4 +428,4 @@
428428
me._destroy();
429429
}
430430
});
431-
});
431+
})(jQuery, window);

themes/Frontend/Responsive/frontend/_public/src/js/jquery.infinite-scrolling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;jQuery(function ($) {
1+
;(function($, window) {
22
'use strict';
33

44
/**
@@ -523,4 +523,4 @@
523523
$.publish('plugin/swInfiniteScrolling/onCloseLoadingIndicator', [ me ]);
524524
}
525525
});
526-
});
526+
})(jQuery, window);

0 commit comments

Comments
 (0)