Skip to content
Snippets Groups Projects
Commit 45b0aa61 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

fix routing issue

parent b0c757ab
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ function navigate_to_article(self, source) {
})
.then(function(response){
self.waiting_for_articles = false
history.replaceState({article: self.article, search_results: [], lang: self.lang, error: self.error}, '')
history.replaceState({article: self.article, search_results: [], lang: self.lang, error: self.error, pos_selected: self.pos_selected, scope: self.scope}, '')
if (source) {
self.$plausible.trackEvent('internal link incoming', {props: {origin: source}})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment