From 093a6f0fa723bc9d43badf0418c6bec89a56ea88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Tue, 20 May 2014 11:00:59 +0100 Subject: [PATCH] Pass through nick click action --- directives/bufferline.html | 2 +- js/glowingbear.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/directives/bufferline.html b/directives/bufferline.html index 1ba6df2..2a8f82c 100644 --- a/directives/bufferline.html +++ b/directives/bufferline.html @@ -3,7 +3,7 @@ :: - +
diff --git a/js/glowingbear.js b/js/glowingbear.js index 6f7fb12..7afa9c2 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -1252,12 +1252,14 @@ weechat.directive('bufferLine', function() { for (var classNum in part.classes) { prefix.addClass(part.classes[classNum]); } - iElement.find('td.prefix').append(prefix); + iElement.find('td.prefix a').append(prefix); } } }, - controller: function($scope) { + controller: function($rootScope, $scope) { + // pass through the nick click action + $scope.addMention = $rootScope.addMention; } };