From 1664b34cc9dfe5a0281ae07368e227225307a80b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Tue, 25 Feb 2014 20:42:59 +0000 Subject: [PATCH] Reorder statements for easier reading --- js/glowingbear.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/glowingbear.js b/js/glowingbear.js index 81cf25e..3bf6a3a 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -617,14 +617,14 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', } }); - $scope.showSidebar = true; - - $scope.buffers = models.model.buffers; - $rootScope.$on('relayDisconnect', function() { models.reinitialize(); }); + $scope.showSidebar = true; + + $scope.buffers = models.model.buffers; + $scope.activeBuffer = models.getActiveBuffer; $rootScope.waseverconnected = false;