Merge pull request #1062 from thelounge/remove-cycle-nicks
Remove cycle nicks button
This commit is contained in:
commit
dd5e50fc68
@ -169,7 +169,6 @@ kbd {
|
|||||||
#footer .icon,
|
#footer .icon,
|
||||||
#chat .count:before,
|
#chat .count:before,
|
||||||
#settings #play:before,
|
#settings #play:before,
|
||||||
#form #cycle-nicks:before,
|
|
||||||
#form #submit:before,
|
#form #submit:before,
|
||||||
#chat .invite .from:before,
|
#chat .invite .from:before,
|
||||||
#chat .join .from:before,
|
#chat .join .from:before,
|
||||||
@ -216,8 +215,6 @@ kbd {
|
|||||||
#footer .help:before { content: "\f059"; /* http://fontawesome.io/icon/question/ */ }
|
#footer .help:before { content: "\f059"; /* http://fontawesome.io/icon/question/ */ }
|
||||||
#footer .sign-out:before { content: "\f011"; /* http://fontawesome.io/icon/power-off/ */ }
|
#footer .sign-out:before { content: "\f011"; /* http://fontawesome.io/icon/power-off/ */ }
|
||||||
|
|
||||||
#form #cycle-nicks:before { content: "\f007"; /* http://fontawesome.io/icon/user/ */ }
|
|
||||||
|
|
||||||
#form #submit:before { content: "\f1d8"; /* http://fontawesome.io/icon/paper-plane/ */ }
|
#form #submit:before { content: "\f1d8"; /* http://fontawesome.io/icon/paper-plane/ */ }
|
||||||
|
|
||||||
#chat .invite .from:before {
|
#chat .invite .from:before {
|
||||||
@ -1454,22 +1451,16 @@ kbd {
|
|||||||
align-self: center;
|
align-self: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#form #cycle-nicks,
|
|
||||||
#form #submit {
|
#form #submit {
|
||||||
color: #9ca5b4;
|
color: #9ca5b4;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
transition: opacity .2s;
|
transition: opacity .2s;
|
||||||
width: 24px;
|
width: 32px;
|
||||||
-webkit-flex: 0 0 auto;
|
-webkit-flex: 0 0 auto;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#form #submit {
|
|
||||||
margin-right: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#form #cycle-nicks:hover,
|
|
||||||
#form #submit:hover {
|
#form #submit:hover {
|
||||||
opacity: .6;
|
opacity: .6;
|
||||||
}
|
}
|
||||||
|
@ -70,9 +70,6 @@
|
|||||||
--><span id="save-nick-tooltip" class="tooltipped tooltipped-e" aria-label="Save"><button id="submit-nick" type="button" aria-label="Save"></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>
|
</span>
|
||||||
<textarea id="input" class="mousetrap"></textarea>
|
<textarea id="input" class="mousetrap"></textarea>
|
||||||
<span id="cycle-nicks-tooltip" class="tooltipped tooltipped-w tooltipped-no-touch" aria-label="Cycle through nicks">
|
|
||||||
<button id="cycle-nicks" type="button" aria-label="Cycle through nicks"></button>
|
|
||||||
</span>
|
|
||||||
<span id="submit-tooltip" class="tooltipped tooltipped-w tooltipped-no-touch" aria-label="Send message">
|
<span id="submit-tooltip" class="tooltipped tooltipped-w tooltipped-no-touch" aria-label="Send message">
|
||||||
<button id="submit" type="submit" aria-label="Send message"></button>
|
<button id="submit" type="submit" aria-label="Send message"></button>
|
||||||
</span>
|
</span>
|
||||||
|
@ -751,12 +751,6 @@ $(function() {
|
|||||||
input.trigger("click").focus();
|
input.trigger("click").focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
// Cycle through nicks for the current word, just like hitting "Tab"
|
|
||||||
$("#cycle-nicks").on("click", function() {
|
|
||||||
input.triggerHandler($.Event("keydown.tabcomplete", {which: 9}));
|
|
||||||
forceFocus();
|
|
||||||
});
|
|
||||||
|
|
||||||
$("#form").on("submit", function(e) {
|
$("#form").on("submit", function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
forceFocus();
|
forceFocus();
|
||||||
|
Loading…
Reference in New Issue
Block a user