Skip to content

Commit 76e1e76

Browse files
author
Volodymyr Zaets
committed
Merge remote-tracking branch 'origin/MAGETWO-52379' into PR
2 parents cb356d7 + 191f4c4 commit 76e1e76

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ define([
2828
$.widget('mage.priceOptions', {
2929
options: globalOptions,
3030

31+
/**
32+
* @private
33+
*/
34+
_init: function initPriceBundle() {
35+
$(this.options.optionsSelector, this.element).trigger('change');
36+
},
37+
3138
/**
3239
* Widget creating method.
3340
* Triggered once.

app/design/frontend/Magento/blank/web/js/responsive.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ define([
3838
galleryElement.gallery('option', 'showNav', false);
3939
galleryElement.gallery('option', 'showThumbs', true);
4040
}
41-
42-
setTimeout(function () {
43-
$('.product.data.items').tabs('option', 'openOnFocus', true);
44-
}, 500);
4541
},
4642
// Switch to Mobile Version
4743
exit: function () {
@@ -72,10 +68,6 @@ define([
7268
galleryElement.gallery('option', 'showThumbs', false);
7369
}
7470
}, 2000);
75-
76-
setTimeout(function () {
77-
$('.product.data.items').tabs('option', 'openOnFocus', false);
78-
}, 500);
7971
}
8072
});
8173
});

0 commit comments

Comments
 (0)