We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e064f commit 686c4f7Copy full SHA for 686c4f7
app/code/Magento/Downloadable/view/frontend/web/js/downloadable.js
@@ -17,7 +17,19 @@ define([
17
*/
18
$.widget('mage.downloadable', {
19
options: {
20
- priceHolderSelector: '.price-box'
+ priceHolderSelector: '.price-box',
21
+ linkElement: '',
22
+ allElements: ''
23
+ },
24
+
25
+ /**
26
+ * @inheritdoc
27
+ */
28
+ _init: function initLinks() {
29
+ var element = this.element,
30
+ options = $(this.options.linkElement, element);
31
32
+ options.trigger('change');
33
},
34
35
/**
0 commit comments