Skip to content

Commit a7a704f

Browse files
committed
Output status in text
1 parent 1cf19c7 commit a7a704f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webssh/static/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ jQuery(function($){
325325

326326
function log_status(text, to_populate) {
327327
console.log(text);
328-
status.html(text.split('\n').join('<br/>'));
328+
status.text(text);
329329

330330
if (to_populate && validated_form_data) {
331331
populate_form(validated_form_data);

webssh/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
</div>
8888

8989
<div class="container">
90-
<div id="status" style="color: red;"></div>
90+
<div id="status" style="color: red; white-space: pre-line;"></div>
9191
<div id="terminal"></div>
9292
</div>
9393

0 commit comments

Comments
 (0)