added in another code option

This commit is contained in:
Judy Ngai 2016-03-03 14:57:28 -05:00
parent fdbb055815
commit e6b96b177a

View file

@ -2,6 +2,10 @@ $('#target').click ->
$('#memorytoggle').toggleClass 'hidden'
return
`$( "#target" ).click(function() {
$("#memorytoggle").toggleClass("hidden");
});`
class @AgentShowPage
constructor: ->
$(".agent-show #show-tabs a[href='#logs'], #logs .refresh").on "click", @fetchLogs