Skip to content

Commit f00f0d4

Browse files
ENGCOM-6047: Resolved Issue #24785 #24800
- Merge Pull Request #24800 from drpayyne/magento2:issue-24785 - Merged commits: 1. a289dc4 2. 68b7c4a 3. c1ddc0f 4. 0e791c3 5. a2919d9
2 parents 2739c8f + a2919d9 commit f00f0d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Downloadable/view/frontend/web/js/downloadable.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ define([
1010
'jquery-ui-modules/widget',
1111
'Magento_Catalog/js/price-box'
1212
], function ($) {
13+
'use strict';
1314

1415
/**
1516
* Downloadable widget
@@ -78,7 +79,7 @@ define([
7879
* @private
7980
*/
8081
reloadAllCheckText: function () {
81-
let allChecked = true,
82+
var allChecked = true,
8283
allElementsCheck = $(this.options.allElements),
8384
allElementsLabel = $('label[for="' + allElementsCheck.attr('id') + '"] > span');
8485

0 commit comments

Comments
 (0)