Skip to content

Commit 8a1d784

Browse files
committed
Fix static test failure
1 parent 976231a commit 8a1d784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/cart/ensure-subtotal-sync.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ define([
7777
// Observe changes in totals area to re-check once
7878
const totals = document.getElementById('cart-totals');
7979
if (totals && typeof MutationObserver !== 'undefined') {
80-
const obs = new MutationObserver(function () {
80+
const obs = new MutationObserver(
81+
function () {
8182
trySync();
8283
if (clicked) {
8384
obs.disconnect();

0 commit comments

Comments
 (0)