Fix bug where history is not updated due to js interference

This commit is contained in:
Dennis Eichhorn 2019-04-22 18:05:15 +02:00
parent 46cbc1d39e
commit d3312d760f

View File

@ -59,6 +59,7 @@ export class GeneralUI {
for (let i = 0; i < length; ++i) {
e[i].addEventListener('click', function(event) {
jsOMS.preventAll(event);
history.pushState(null, null, window.location);
window.location = UriFactory.build(this.getAttribute('data-href'));
});
}