diff options
Diffstat (limited to 'beamer/viewer/viewer.js')
-rw-r--r-- | beamer/viewer/viewer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/beamer/viewer/viewer.js b/beamer/viewer/viewer.js index 28c0187..d8d7668 100644 --- a/beamer/viewer/viewer.js +++ b/beamer/viewer/viewer.js | |||
@@ -107,7 +107,7 @@ class Viewer { | |||
107 | 107 | ||
108 | _hash_params() { | 108 | _hash_params() { |
109 | const queryDict = {}; | 109 | const queryDict = {}; |
110 | location.hash.substr(1).split("&").forEach(item => { | 110 | location.hash.slice(1).split("&").forEach(item => { |
111 | const pair = item.split("="); | 111 | const pair = item.split("="); |
112 | queryDict[pair[0]] = pair[1]; | 112 | queryDict[pair[0]] = pair[1]; |
113 | }); | 113 | }); |