Skip to content
Snippets Groups Projects
Commit 1caa680e authored by Jonathan Sacksick's avatar Jonathan Sacksick Committed by Jonathan Sacksick
Browse files

Issue #3310417 by jsacksick: Remove the jquery/once dependency from the...

Issue #3310417 by jsacksick: Remove the jquery/once dependency from the commerce_checkout.admin library.
parent 38222df7
No related branches found
No related tags found
2 merge requests!235Issue #3115150 by mbovan: Submitting add to cart form with empty quantity...,!205Issue #3349465 by tBKoT, jsacksick, bojanz: Update several VAT rates and setup...
......@@ -8,7 +8,7 @@ admin:
dependencies:
- core/jquery
- core/drupal
- core/jquery.once
- core/once
login_pane:
version: VERSION
......
......@@ -19,8 +19,8 @@
*/
Drupal.behaviors.checkoutPaneOverview = {
attach: function (context, settings) {
$(context).find('table#checkout-pane-overview').once('checkout-pane-overview').each(function () {
Drupal.checkoutPaneOverview.attach(this);
$(once('checkout-pane-overview', 'table#checkout-pane-overview', context)).each(function () {
Drupal.checkoutPaneOverview.attach(this);
});
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment