Don't close folds when following logs
This commit is contained in:
parent
20e3152dba
commit
43e9af77d5
|
@ -60,6 +60,9 @@ class @Travis.Tailing
|
|||
@tail().addClass('active')
|
||||
@run()
|
||||
|
||||
isActive: ->
|
||||
@tail().hasClass('active')
|
||||
|
||||
stop: ->
|
||||
@tail().removeClass('active')
|
||||
|
||||
|
|
|
@ -76,6 +76,7 @@ Travis.reopen
|
|||
|
||||
toggleTailing: ->
|
||||
Travis.tailing.toggle()
|
||||
@engine.autoCloseFold = !Travis.tailing.isActive()
|
||||
event.preventDefault()
|
||||
|
||||
actions:
|
||||
|
|
Loading…
Reference in New Issue
Block a user