Merge pull request #889 from thelounge/astorije/placeholder
Un-ellipsis placeholder and use ES6 template
This commit is contained in:
commit
87b9c50aaa
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user