Move toggleTailing to actions in PreView
This commit is contained in:
parent
36b174102a
commit
f566d601ee
|
@ -111,15 +111,15 @@ Travis.reopen
|
|||
url
|
||||
).property('job.log.id', 'job.log.token')
|
||||
|
||||
toggleTailing: ->
|
||||
Travis.tailing.toggle()
|
||||
@engine.autoCloseFold = !Travis.tailing.isActive()
|
||||
event.preventDefault()
|
||||
|
||||
actions:
|
||||
toTop: () ->
|
||||
$(window).scrollTop(0)
|
||||
|
||||
toggleTailing: ->
|
||||
Travis.tailing.toggle()
|
||||
@engine.autoCloseFold = !Travis.tailing.isActive()
|
||||
event.preventDefault()
|
||||
|
||||
noop: -> # TODO required?
|
||||
|
||||
Log.Scroll = (options) ->
|
||||
|
|
Loading…
Reference in New Issue
Block a user