From b854ac8768ee95f0e39c4af676564ca56d3ff336 Mon Sep 17 00:00:00 2001 From: kraiz Date: Mon, 27 Apr 2015 19:58:27 +0200 Subject: [PATCH] store largeChat state in main ctrl, close #20 --- app/js/controllers/main.js | 5 ++++- app/partials/hubs.html | 14 +++++++------- app/partials/navbar.html | 6 +++--- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/app/js/controllers/main.js b/app/js/controllers/main.js index 0c756c9..97b6e18 100644 --- a/app/js/controllers/main.js +++ b/app/js/controllers/main.js @@ -1,7 +1,10 @@ 'use strict'; EiskaltApp.controller('MainCtrl', function ($scope, $location, $interval, settings, EiskaltRPC, UpdateCheck) { - $scope.navbarCollapsed = true; + $scope.ui = { + largeChat: false, + navbarCollapsed: true + }; $scope.ratio = { bandwidth_up: 0, bandwidth_down: 0 diff --git a/app/partials/hubs.html b/app/partials/hubs.html index e1c58c9..c8fbcd5 100644 --- a/app/partials/hubs.html +++ b/app/partials/hubs.html @@ -12,13 +12,13 @@
-