Skip to content

Commit 33123a0

Browse files
committed
MAGETWO-32484: Stabilization of changes and bug fixing
- IE9 compatiblity in page-cache.js
1 parent a2cd3fc commit 33123a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageCache/view/frontend/web/js/page-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ define([
295295
*/
296296
function generateRandomString(chars, length) {
297297
var result = '';
298-
length = length > 0 && Number.isFinite(length) ? length : 1;
298+
length = length > 0 ? length : 1;
299299

300300
while (length--) {
301301
result += chars[Math.round(Math.random() * (chars.length - 1))];

0 commit comments

Comments
 (0)