Reorder statements for easier reading

This commit is contained in:
Lorenz Hübschle-Schneider 2014-02-25 20:42:59 +00:00
parent 997fe91d3e
commit 1664b34cc9
1 changed files with 4 additions and 4 deletions

View File

@ -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;