Fixed not bing able to follow same inner links twice with history:false

Scenario:

- history set to false in Reveal’s config
- follow anchor to `/#someid`
- navigate to other sections
- follow anchor to same section `/#someid`

This does not work as the hash has not changed.

This fix removes the hash from the URL when navigating
This commit is contained in:
Raphael Parree 2019-03-15 08:45:43 +01:00
parent 0b3e7839eb
commit b4c6c92033

View File

@ -4033,8 +4033,12 @@
else if( currentSlide ) {
window.location.hash = locationHash();
}
} else {
window.location.hash = '';
}
}
/**
* Retrieves the h/v location and fragment of the current,