summaryrefslogtreecommitdiffstats
path: root/js/directive
diff options
context:
space:
mode:
Diffstat (limited to 'js/directive')
-rw-r--r--js/directive/NewsReadFile.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/directive/NewsReadFile.js b/js/directive/NewsReadFile.js
index 82bdf477e..9b06d8479 100644
--- a/js/directive/NewsReadFile.js
+++ b/js/directive/NewsReadFile.js
@@ -18,7 +18,6 @@ app.directive('newsReadFile', function () {
var reader = new FileReader();
reader.onload = function (event) {
- elem[0].value = 0;
// FIXME: is there a more flexible solution where we dont have
// to bind the file to scope?
scope.$fileContent = event.target.result;