From 70ff24bd1049cf411deb5a94f504df103682efc2 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Wed, 16 Oct 2013 14:44:44 +0200 Subject: [PATCH] add a disconnect button --- css/glowingbear.css | 3 +++ js/websockets.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index d987c46..28f40b6 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -94,6 +94,7 @@ input[type=text], input[type=password] { width: 100%; height: 25px; z-index: 1; + line-height: 25px; } #topbar .brand { height: 25px; @@ -105,6 +106,8 @@ input[type=text], input[type=password] { #topbar .title { padding-left: 14%; } + #topbar .actions { + } #topbar, #sidebar, .panel { background: #282828; diff --git a/js/websockets.js b/js/websockets.js index d990f4f..62b378f 100644 --- a/js/websockets.js +++ b/js/websockets.js @@ -515,7 +515,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', $scope.connect = function() { connection.connect($scope.host, $scope.port, $scope.password, $scope.ssl); } - $scope.discconnect = function() { + $scope.disconnect = function() { connection.disconnect(); }