aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--beamer/viewer/viewer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/beamer/viewer/viewer.js b/beamer/viewer/viewer.js
index fa8d04e..16764eb 100644
--- a/beamer/viewer/viewer.js
+++ b/beamer/viewer/viewer.js
@@ -46,8 +46,8 @@ class Viewer {
46 46
47 _readFile(file) { 47 _readFile(file) {
48 this.fileReader.onload = () => { 48 this.fileReader.onload = () => {
49 this._setPresentation(new Uint8Array(this.result)); 49 this._setPresentation(new Uint8Array(this.fileReader.result));
50 } 50 };
51 51
52 this.fileReader.abort(); 52 this.fileReader.abort();
53 this.fileReader.readAsArrayBuffer(file); 53 this.fileReader.readAsArrayBuffer(file);