From 6d53eaade22887badb6e14408a428e968b14b729 Mon Sep 17 00:00:00 2001 From: Darren Date: Fri, 14 Sep 2012 10:55:55 +0100 Subject: [PATCH] Removing scrollback divs fix --- client_backbone/dev/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_backbone/dev/view.js b/client_backbone/dev/view.js index 9fc152e..b6f1b3a 100644 --- a/client_backbone/dev/view.js +++ b/client_backbone/dev/view.js @@ -242,7 +242,7 @@ kiwi.view.Panel = Backbone.View.extend({ // Make sure our DOM isn't getting too large (Acts as scrollback) this.msg_count++; if (this.msg_count > 250) { - $('.msg:first', this.div).remove(); + $('.msg:first', this.$el).remove(); this.msg_count--; } }, -- 2.25.1