Skip to content

Commit dc7c37e

Browse files
author
Oleksii Korshenko
authored
MAGETWO-66426: Move cache to instance of price box widget #6794
2 parents 0136477 + a22763a commit dc7c37e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/base/web/js/price-box.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ define([
2121

2222
$.widget('mage.priceBox', {
2323
options: globalOptions,
24-
cache: {},
2524

2625
/**
2726
* Widget initialisation.
@@ -39,6 +38,7 @@ define([
3938
* Widget creating.
4039
*/
4140
_create: function createPriceBox() {
41+
this.cache = {};
4242
var box = this.element;
4343

4444
this._setDefaultsFromPriceConfig();

0 commit comments

Comments
 (0)