diff --git a/css/glowingbear.css b/css/glowingbear.css index a068f2f..d013eee 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -23,6 +23,10 @@ body { color: deepskyblue; } +.danger { + background-color: rgb(217, 83, 79); +} + .color-28 { color: greenyellow; } diff --git a/index.html b/index.html index 4dabe2c..6bb10a6 100644 --- a/index.html +++ b/index.html @@ -70,7 +70,7 @@
diff --git a/js/websockets.js b/js/websockets.js index 891b0d5..7e3b1cc 100644 --- a/js/websockets.js +++ b/js/websockets.js @@ -312,6 +312,7 @@ weechat.factory('handlers', ['$rootScope', 'colors', 'pluginManager', function($ if(!initial && (highlight || _.contains(tags_array, 'notify_private')) ) { $rootScope.createHighlight(prefix, text, message, buffer, additionalContent); + $rootScope.buffers[buffer]['highlight'] = true; } } } @@ -552,6 +553,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', 'connection $scope.setActiveBuffer = function(key) { $rootScope.activeBuffer['active'] = false; $rootScope.buffers[key]['active'] = true; + $rootScope.buffers[key]['highlight'] = false; $rootScope.buffers[key]['unread'] = ''; $rootScope.activeBuffer = $rootScope.buffers[key]; $rootScope.pageTitle = $rootScope.activeBuffer['short_name'] + ' | ' + $rootScope.activeBuffer['title'];