diff options
author | pacien | 2018-07-21 02:17:02 +0200 |
---|---|---|
committer | pacien | 2018-07-21 02:17:02 +0200 |
commit | 29eba60e321667b73f9c97d73e55be69b344ef1b (patch) | |
tree | 5e79d6e6b9f9533cdebd6a4bbf393b5030eb9f13 /pointless/viewer/viewer.js | |
parent | 67ee634c9e1037708519bd42d348243aa9cea468 (diff) | |
download | beamer-viewer-29eba60e321667b73f9c97d73e55be69b344ef1b.tar.gz |
Add noscript warning
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) { |