change fetchLineNumber to use the actual document location, controller url does not seem to be updated
This commit is contained in:
parent
c011cfafcd
commit
83943232db
|
@ -1,5 +1,3 @@
|
||||||
Travis.LineNumberParser = Ember.Mixin.create
|
Travis.LineNumberParser = Ember.Mixin.create
|
||||||
fetchLineNumber: ->
|
fetchLineNumber: ->
|
||||||
url = @container.lookup('router:main').get('url')
|
match[1] if match = document.location.hash.match(/#L(\d+)$/)
|
||||||
if match = url.match(/#L(\d+)$/)
|
|
||||||
match[1]
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user