diff options
Diffstat (limited to 'pointless/viewer/viewer.js')
-rw-r--r-- | pointless/viewer/viewer.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pointless/viewer/viewer.js b/pointless/viewer/viewer.js index e3a1043..f4cc348 100644 --- a/pointless/viewer/viewer.js +++ b/pointless/viewer/viewer.js | |||
@@ -9,15 +9,11 @@ | |||
9 | 9 | ||
10 | class Viewer { | 10 | class Viewer { |
11 | constructor() { | 11 | constructor() { |
12 | this.welcomeScreen = document.getElementById("welcomeScreen"); | ||
13 | this.fileInput = document.getElementById("fileInput"); | 12 | this.fileInput = document.getElementById("fileInput"); |
14 | |||
15 | this.welcomeScreen.style.display = "block"; | ||
16 | this._listenForInput(); | 13 | this._listenForInput(); |
17 | } | 14 | } |
18 | 15 | ||
19 | load(source) { | 16 | load(source) { |
20 | this.welcomeScreen.style.display = "none"; | ||
21 | pdfjsLib.getDocument(source).then(function(pdf) { | 17 | pdfjsLib.getDocument(source).then(function(pdf) { |
22 | const presentation = new Presentation(pdf); | 18 | const presentation = new Presentation(pdf); |
23 | }).catch(function(error) { | 19 | }).catch(function(error) { |