Skip to content

Commit

Permalink
Fix JS error in logs view
Browse files Browse the repository at this point in the history
  • Loading branch information
Difegue committed Nov 22, 2021
1 parent fba81ac commit 6584cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/logs.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
function showLog(type) {

$.get("/logs/" + type + "?lines=" + $("#loglines").val(), function (data) {
$("#log-container").html(encode(data));
$("#log-container").html(LRR.encodeHTML(data));
$("#indicator").html(type);
$("#log-container").scrollTop($("#log-container").prop("scrollHeight"));
});
Expand Down

0 comments on commit 6584cd8

Please sign in to comment.