mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 17:58:41 +00:00
change uri without adding it to the browser history
This commit is contained in:
parent
af1f50e209
commit
7bb4d3b403
|
|
@ -1,5 +1,5 @@
|
|||
import { UriFactory } from '../../Uri/UriFactory.js';
|
||||
import { Http } from '../../Uri/Http.js';
|
||||
import { UriFactory } from '../../Uri/UriFactory.js';
|
||||
|
||||
/**
|
||||
* Tab manager class.
|
||||
|
|
@ -90,7 +90,7 @@ export class Tab {
|
|||
jsOMS.addClass(this, 'active');
|
||||
|
||||
/* Add selected tab */
|
||||
window.history.pushState(null, '',
|
||||
window.history.replaceState(null, '',
|
||||
UriFactory.build(
|
||||
'{%}#' + (fragmentString === '' ? '' : fragmentString + ',') + this.getElementsByTagName('label')[0].getAttribute('for')
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user