Rename highlightNick to addMention
...because that's what it does
This commit is contained in:
parent
101699cce2
commit
703953a0f6
|
@ -249,7 +249,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
<span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'HH'"></span><span class="cof-chat_time_delimiters cob-chat_time_delimiters coa-chat_time_delimiters">:</span><span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'mm'"></span>
|
<span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'HH'"></span><span class="cof-chat_time_delimiters cob-chat_time_delimiters coa-chat_time_delimiters">:</span><span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'mm'"></span>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="prefix"><a ng-click="highlightNick(bufferline.prefix)"><span ng-repeat="part in bufferline.prefix" bo-class="part.classes" bo-html="part.text"></span></a></td>
|
<td class="prefix"><a ng-click="addMention(bufferline.prefix)"><span ng-repeat="part in bufferline.prefix" bo-class="part.classes" bo-html="part.text"></span></a></td>
|
||||||
<td class="message">
|
<td class="message">
|
||||||
<div ng-repeat="metadata in bufferline.metadata">
|
<div ng-repeat="metadata in bufferline.metadata">
|
||||||
<div plugin data="metadata"></div>
|
<div plugin data="metadata"></div>
|
||||||
|
|
|
@ -1262,7 +1262,7 @@ weechat.directive('inputBar', function() {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$rootScope.highlightNick = function(prefix) {
|
$rootScope.addMention = function(prefix) {
|
||||||
// Extract nick from bufferline prefix
|
// Extract nick from bufferline prefix
|
||||||
var nick = prefix[prefix.length - 1].text;
|
var nick = prefix[prefix.length - 1].text;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue