From 0e67ede5d1b4e9933e713046889a30b0d56f8ea8 Mon Sep 17 00:00:00 2001 From: Gokulakrishna Date: Wed, 16 May 2018 15:22:27 +0530 Subject: Typo correction - removed 2nd var on same variable in scope --- js/controllers/importexport.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/controllers/importexport.js b/js/controllers/importexport.js index b9a90c7..5ea9756 100644 --- a/js/controllers/importexport.js +++ b/js/controllers/importexport.js @@ -51,7 +51,7 @@ redirectorApp.config([ reader.onload = function(e) { var data; try { - var data = JSON.parse(reader.result); + data = JSON.parse(reader.result); } catch(e) { $s.showMessage('Failed to parse JSON data, invalid JSON: ' + (e.message||'').substr(0,100)); return $s.$parent.$apply(); @@ -107,4 +107,4 @@ redirectorApp.config([ } $s.updateExportLink(); //Run once so the a will have a href to begin with -}]); \ No newline at end of file +}]); -- cgit v1.2.3