diff --git a/assets/scripts/app/views/log.coffee b/assets/scripts/app/views/log.coffee index 2816932d..14972086 100644 --- a/assets/scripts/app/views/log.coffee +++ b/assets/scripts/app/views/log.coffee @@ -93,7 +93,8 @@ Travis.reopen target.closest('.fold').toggleClass('open') lineNumberClicked: (number) -> - window.history.pushState(null, null, "#{window.location.pathname}#L#{number}"); + path = "#{window.location.pathname}#L#{number}" + window.history.pushState({ path: path }, null, path); @set('controller.lineNumber', number) toTop: () ->