diff options
Diffstat (limited to 'js/io/system/chromeapi.js')
-rw-r--r-- | js/io/system/chromeapi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/system/chromeapi.js b/js/io/system/chromeapi.js index c19a7d3b..eee7409d 100644 --- a/js/io/system/chromeapi.js +++ b/js/io/system/chromeapi.js | |||
@@ -146,7 +146,7 @@ exports.ChromeApi = Montage.create(Object.prototype, { | |||
146 | callback({content: this.result, data: file, file: f, url: f.toURL()}); | 146 | callback({content: this.result, data: file, file: f, url: f.toURL()}); |
147 | } | 147 | } |
148 | }; | 148 | }; |
149 | reader.readAsText(file); | 149 | reader.readAsArrayBuffer(file); |
150 | }, function (e) {if (callback) callback(false)}); | 150 | }, function (e) {if (callback) callback(false)}); |
151 | }, function (e) {if (callback) callback(false)}); | 151 | }, function (e) {if (callback) callback(false)}); |
152 | } | 152 | } |