mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-30 09:42:44 +00:00
Fix issue with history
This commit is contained in:
@@ -293,11 +293,9 @@ Promise.all([
|
||||
if (track) {
|
||||
ga('set', 'page', target.replace(/^\/dev/, ''))
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
selected = modelFromPath(target) ?? ''
|
||||
if (target) {
|
||||
history.pushState(target, 'Change Page', target)
|
||||
}
|
||||
selected = modelFromPath(target) ?? ''
|
||||
|
||||
const panels = [treeViewEl, sourceViewEl, errorsViewEl]
|
||||
if (models[selected] === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user