mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58:39 +00:00
Fix bug where history is not updated due to js interference
This commit is contained in:
parent
46cbc1d39e
commit
d3312d760f
|
|
@ -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'));
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user