Un-ellipsis placeholder and use ES6 template

This commit is contained in:
Jérémie Astori 2017-01-24 23:55:57 -05:00
parent ba165de94e
commit dcc98c3efb

View file

@ -1040,7 +1040,7 @@ $(function() {
var placeholder = "";
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);