Skip to content

Commit bcd75f4

Browse files
authored
Update sidebar.js
1 parent b370b1e commit bcd75f4

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ define([
262262
productIds: [productData['product_id']]
263263
});
264264
if (window.location.href === this.shoppingCartUrl) {
265-
location.reload();
265+
window.location.reload();
266266
}
267267
}
268268
},

0 commit comments

Comments
 (0)