diff --git a/evennia/web/webclient/static/webclient/js/plugins/splithandler.js b/evennia/web/webclient/static/webclient/js/plugins/splithandler.js
index 21517a620..466706585 100644
--- a/evennia/web/webclient/static/webclient/js/plugins/splithandler.js
+++ b/evennia/web/webclient/static/webclient/js/plugins/splithandler.js
@@ -190,18 +190,18 @@ let splithandler_plugin = (function () {
selection = "Pane to split: " + selection + " ";
dialog.append(selection);
- dialog.append(' top/bottom >');
- dialog.append(' side-by-side
');
+ dialog.append('top/bottom >');
+ dialog.append('side-by-side
');
dialog.append('Pane 1: ');
- dialog.append('line feed >');
- dialog.append('append >');
- dialog.append('replace content
');
+ dialog.append('newlines >');
+ dialog.append('replace >');
+ dialog.append('append
');
dialog.append('Pane 2: ');
- dialog.append('line feed >');
- dialog.append('append >');
- dialog.append('replace content
');
+ dialog.append('newlines >');
+ dialog.append('replace >');
+ dialog.append('append
');
dialog.append('Split
');
@@ -295,15 +295,16 @@ let splithandler_plugin = (function () {
if ( pane['update_method'] == 'replace' ) {
text_div.html(txt)
- } else if ( pane['update_method'] == 'linefeed' ) {
- text_div.append("" + txt + "
");
- var scrollHeight = text_div.parent().prop("scrollHeight");
- text_div.parent().animate({ scrollTop: scrollHeight }, 0);
- } else {
+ } else if ( pane['update_method'] == 'append' ) {
text_div.append(txt);
var scrollHeight = text_div.parent().prop("scrollHeight");
text_div.parent().animate({ scrollTop: scrollHeight }, 0);
+ } else { // line feed
+ text_div.append("" + txt + "
");
+ var scrollHeight = text_div.parent().prop("scrollHeight");
+ text_div.parent().animate({ scrollTop: scrollHeight }, 0);
}
+
}
@@ -377,7 +378,7 @@ let splithandler_plugin = (function () {
minSize: [50,50],
});
- split_panes['main'] = { 'types': [], 'update_method': 'append' };
+ split_panes['main'] = { 'types': [], 'update_method': 'linefeed' };
// Create our UI
addToolbarButtons();