aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2019-03-21 09:03:50 +0100
committerGitHub <noreply@github.com>2019-03-21 09:03:50 +0100
commitae556d0844826ea76f3b45e41005c7bae4cc06bc (patch)
treef172935cf512c7f20182a9e6c0c9e9562e8c4190
parent01874c6e70f11b63c66bdace29411812932b88f9 (diff)
parentb5fe0f812625ce1628ee24e69fff0eedca8e93fd (diff)
downloadperl-software-in-gnu-guix-ae556d0844826ea76f3b45e41005c7bae4cc06bc.tar
perl-software-in-gnu-guix-ae556d0844826ea76f3b45e41005c7bae4cc06bc.tar.gz
Merge pull request #2350 from rparree/hash-problem
Fixed not bing able to follow same inner links twice with history:false
-rw-r--r--js/reveal.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 387077a..f03c5cc 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -4296,8 +4296,13 @@
else if( config.hash ) {
window.history.replaceState(null, null, '#' + locationHash());
}
+ else {
+ window.location.hash = '';
+ }
}
+
+
}
/**
* Retrieves the h/v location and fragment of the current,