aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorGokulakrishna <gokulakrishna@rocketmail.com>2018-05-16 15:22:27 +0530
committerGitHub <noreply@github.com>2018-05-16 15:22:27 +0530
commit0e67ede5d1b4e9933e713046889a30b0d56f8ea8 (patch)
tree7a71fe054ad57c836223e5e5a41e17379df64057 /js/controllers
parent346ee12396cc7a9ace7edeba39a4c46dfc060617 (diff)
Typo correction - removed 2nd var on same variable in scope
Diffstat (limited to 'js/controllers')
-rw-r--r--js/controllers/importexport.js4
1 files changed, 2 insertions, 2 deletions
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
+}]);