Commit bf85fef9 authored by ∞'s avatar 💻
parent dc3f9f63
......@@ -30,7 +30,7 @@ export default class extends Controller {
var target = document.getElementById(this.targetId)
target.innerHTML = doc.getElementById(this.targetId).innerHTML
init(target)
window.history.pushState({}, doc.querySelector('title').innerHTML, this.url)
window.history.pushState({turbolinks: {}}, doc.querySelector('title').innerHTML, this.url)
}
get targetId() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment