From e90e39db9628c3e4d53224bab67e42f3b525018d Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 2 Mar 2014 13:10:04 +0000 Subject: [PATCH] Correctly checking if active panel != applet before scrolling down --- client/src/views/panel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/views/panel.js b/client/src/views/panel.js index b73fb4d..c22d6f0 100644 --- a/client/src/views/panel.js +++ b/client/src/views/panel.js @@ -57,7 +57,8 @@ _kiwi.view.Panel = Backbone.View.extend({ _kiwi.app.view.doLayout(); - if(!this.model.applet) this.scrollToBottom(true); + if (!this.model.isApplet()) + this.scrollToBottom(true); }, -- 2.25.1