Commit 0fe8e76a authored by Leo Iannacone's avatar Leo Iannacone

fix recursive call on bad variable name

parent 1d96060c
......@@ -338,7 +338,7 @@ function Page_Distrubion(socket) {
append: function (new_content) {
var file_content = $('#file pre');
if (!current_file_in_preview) {
file.append(new_content);
file_content.append(new_content);
} else {
// always show only config.file.num_lines lines in preview
var content = file_content.html().replace(/\n$/, '').split('\n');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment