summaryrefslogtreecommitdiffstats
path: root/js/directive
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-14 04:17:32 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-14 04:17:32 +0200
commit242fdbf9fcc39795fe5567eadcb55c6709b303c5 (patch)
tree6c85a9836080997bf223341e11eecdac3c51ac1e /js/directive
parent721ae0b8bbde9716ed9073439805fd6497abf508 (diff)
add import articles
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;