@@ -1,13 +1,8 @@ |
||
1 |
-$('#target').click -> |
|
2 |
- $('#memorytoggle').toggleClass 'hidden' |
|
3 |
- return |
|
4 |
- |
|
5 |
-`$( "#target" ).click(function() { |
|
6 |
- $("#memorytoggle").toggleClass("hidden"); |
|
7 |
-});` |
|
8 |
- |
|
9 | 1 |
class @AgentShowPage |
10 | 2 |
constructor: -> |
3 |
+ $('#target').click -> |
|
4 |
+ $('#memorytoggle').toggleClass 'hidden' |
|
5 |
+ return |
|
11 | 6 |
$(".agent-show #show-tabs a[href='#logs'], #logs .refresh").on "click", @fetchLogs |
12 | 7 |
$(".agent-show #logs .clear").on "click", @clearLogs |
13 | 8 |
$(".agent-show #memory .clear").on "click", @clearMemory |