Skip to content

Commit e6b0582

Browse files
committed
MC-17882: Request A Quote form not working in IE11 not support create-negotiable-quote.js
1 parent d15b432 commit e6b0582

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/web/mage/msie/file-reader.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ define([
2121
* Read file as binary string
2222
*/
2323
reader.onload = function () {
24-
var bytes, length, i;
24+
var bytes, length, index;
2525

2626
bytes = new Uint8Array(reader.result);
2727
length = bytes.length;
2828

29-
for (i = 0; i < length; i++) {
30-
binary += String.fromCharCode(bytes[i]);
29+
for (index = 0; index < length; index++) {
30+
binary += String.fromCharCode(bytes[index]);
3131
}
3232
//self.result - readonly so assign binary
3333
self.content = binary;

0 commit comments

Comments
 (0)