From: Darren Date: Sun, 2 Mar 2014 13:10:04 +0000 (+0000) Subject: Correctly checking if active panel != applet before scrolling down X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e90e39db9628c3e4d53224bab67e42f3b525018d;p=KiwiIRC.git Correctly checking if active panel != applet before scrolling down --- 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); },