Merge pull request #889 from thelounge/astorije/placeholder

Un-ellipsis placeholder and use ES6 template
This commit is contained in:
Jérémie Astori 2017-01-25 00:46:37 -05:00 committed by GitHub
commit 87b9c50aaa
1 changed files with 1 additions and 1 deletions

View File

@ -1040,7 +1040,7 @@ $(function() {
var placeholder = ""; var placeholder = "";
if (chan.data("type") === "channel" || chan.data("type") === "query") { if (chan.data("type") === "channel" || chan.data("type") === "query") {
placeholder = "Write to " + chan.data("title") + "..."; placeholder = `Write to ${chan.data("title")}`;
} }
input.attr("placeholder", placeholder); input.attr("placeholder", placeholder);