Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
decker
decker
Commits
040674bc
Commit
040674bc
authored
May 10, 2021
by
Mario Botsch
Browse files
continue where you left off
parent
7a014c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
resource/support/js/decker.js
View file @
040674bc
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment