File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
code/Magento/Catalog/view/base/web/js
design/frontend/Magento/blank/web/js Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,13 @@ define([
28
28
$ . widget ( 'mage.priceOptions' , {
29
29
options : globalOptions ,
30
30
31
+ /**
32
+ * @private
33
+ */
34
+ _init : function initPriceBundle ( ) {
35
+ $ ( this . options . optionsSelector , this . element ) . trigger ( 'change' ) ;
36
+ } ,
37
+
31
38
/**
32
39
* Widget creating method.
33
40
* Triggered once.
Original file line number Diff line number Diff line change @@ -38,10 +38,6 @@ define([
38
38
galleryElement . gallery ( 'option' , 'showNav' , false ) ;
39
39
galleryElement . gallery ( 'option' , 'showThumbs' , true ) ;
40
40
}
41
-
42
- setTimeout ( function ( ) {
43
- $ ( '.product.data.items' ) . tabs ( 'option' , 'openOnFocus' , true ) ;
44
- } , 500 ) ;
45
41
} ,
46
42
// Switch to Mobile Version
47
43
exit : function ( ) {
@@ -72,10 +68,6 @@ define([
72
68
galleryElement . gallery ( 'option' , 'showThumbs' , false ) ;
73
69
}
74
70
} , 2000 ) ;
75
-
76
- setTimeout ( function ( ) {
77
- $ ( '.product.data.items' ) . tabs ( 'option' , 'openOnFocus' , false ) ;
78
- } , 500 ) ;
79
71
}
80
72
} ) ;
81
73
} ) ;
You can’t perform that action at this time.
0 commit comments