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:
parent
0b3e7839eb
commit
b4c6c92033
@ -4033,8 +4033,12 @@
|
|||||||
else if( currentSlide ) {
|
else if( currentSlide ) {
|
||||||
window.location.hash = locationHash();
|
window.location.hash = locationHash();
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
window.location.hash = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Retrieves the h/v location and fragment of the current,
|
* Retrieves the h/v location and fragment of the current,
|
||||||
|
Loading…
Reference in New Issue
Block a user