Commit 040674bc authored by Mario Botsch's avatar Mario Botsch
Browse files

continue where you left off

parent 7a014c0b
...@@ -278,7 +278,7 @@ function continueWhereYouLeftOff() { ...@@ -278,7 +278,7 @@ function continueWhereYouLeftOff() {
if (localStorage) { if (localStorage) {
// if user opens HTML with hash... // if user opens HTML with hash...
// if (deckHash == "") if (deckHash == "")
{ {
const slideIndex = JSON.parse(localStorage.getItem(deckPathname)); const slideIndex = JSON.parse(localStorage.getItem(deckPathname));
// ...and previous slide index is stored // ...and previous slide index is stored
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment