Rename highlightNick to addMention

...because that's what it does
This commit is contained in:
Lorenz Hübschle-Schneider 2014-05-09 09:13:13 +01:00
commit 703953a0f6
2 changed files with 2 additions and 2 deletions

View file

@ -1262,7 +1262,7 @@ weechat.directive('inputBar', function() {
}
};
$rootScope.highlightNick = function(prefix) {
$rootScope.addMention = function(prefix) {
// Extract nick from bufferline prefix
var nick = prefix[prefix.length - 1].text;