From 7b4d37acd96c8026f4fac6c9b03caeb3cdf10bcb Mon Sep 17 00:00:00 2001 From: Konstantinos Tsanakas Date: Tue, 7 Jul 2020 11:03:36 +0200 Subject: [PATCH] Update www/ponyfills.js Co-authored-by: Sefa Ilkimen --- www/ponyfills.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/ponyfills.js b/www/ponyfills.js index 3b509a3..b13d774 100644 --- a/www/ponyfills.js +++ b/www/ponyfills.js @@ -16,7 +16,7 @@ module.exports = function init(global) { } else if (global.Blob && value instanceof global.Blob) { // mimic File instance by adding missing properties value.lastModifiedDate = new Date(); - value.name = fileName !== undefined ? fileName : 'blob'; + value.name = filename !== undefined ? filename : 'blob'; } else { value = String(value); } @@ -44,4 +44,4 @@ module.exports = function init(global) { } return interface; -}; \ No newline at end of file +};