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
|
||||
fetchLineNumber: ->
|
||||
url = @container.lookup('router:main').get('url')
|
||||
if match = url.match(/#L(\d+)$/)
|
||||
match[1]
|
||||
match[1] if match = document.location.hash.match(/#L(\d+)$/)
|
||||
|
|
Loading…
Reference in New Issue
Block a user