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 976231a commit 8a1d784Copy full SHA for 8a1d784
app/code/Magento/Checkout/view/frontend/web/js/cart/ensure-subtotal-sync.js
@@ -77,7 +77,8 @@ define([
77
// Observe changes in totals area to re-check once
78
const totals = document.getElementById('cart-totals');
79
if (totals && typeof MutationObserver !== 'undefined') {
80
- const obs = new MutationObserver(function () {
+ const obs = new MutationObserver(
81
+ function () {
82
trySync();
83
if (clicked) {
84
obs.disconnect();
0 commit comments