Use an ellipsis for change nick and join channel tooltips

This commit is contained in:
Jérémie Astori 2017-12-21 13:11:49 -05:00
parent 3307ced4d8
commit 522bba694b
No known key found for this signature in database
GPG key ID: B9A4F245CD67BDE8
3 changed files with 4 additions and 4 deletions

View file

@ -70,7 +70,7 @@
<div class="input">
<span id="nick">
<span id="nick-value" spellcheck="false"></span><!-- Comments here remove spaces between elements
--><span id="set-nick-tooltip" class="tooltipped tooltipped-e" aria-label="Change nick"><button id="set-nick" type="button" aria-label="Change nick"></button></span><!--
--><span id="set-nick-tooltip" class="tooltipped tooltipped-e" aria-label="Change nick"><button id="set-nick" type="button" aria-label="Change nick"></button></span><!--
--><span id="cancel-nick-tooltip" class="tooltipped tooltipped-e" aria-label="Cancel"><button id="cancel-nick" type="button" aria-label="Cancel"></button></span><!--
--><span id="save-nick-tooltip" class="tooltipped tooltipped-e" aria-label="Save"><button id="submit-nick" type="button" aria-label="Save"></button></span>
</span>

View file

@ -135,7 +135,7 @@ $(function() {
output += templates.contextmenu_item({
class: "join",
action: "join",
text: "Join a channel\u2026",
text: "Join a channel",
data: target.data("id"),
});
}

View file

@ -1,8 +1,8 @@
{{#each channels}}
<div data-id="{{id}}" data-target="#chan-{{id}}" data-title="{{name}}" class="chan {{type}} chan-{{slugify name}}">
{{#equal type "lobby"}}
<span class="add-channel-tooltip tooltipped tooltipped-w tooltipped-no-touch" aria-label="Join a channel...">
<button class="add-channel" aria-label="Join a channel..." data-id="{{id}}"></button>
<span class="add-channel-tooltip tooltipped tooltipped-w tooltipped-no-touch" aria-label="Join a channel">
<button class="add-channel" aria-label="Join a channel" data-id="{{id}}"></button>
</span>
{{/equal}}
<span class="badge{{#if highlight}} highlight{{/if}}">{{#if unread}}{{roundBadgeNumber unread}}{{/if}}</span>