Un-ellipsis placeholder and use ES6 template
This commit is contained in:
parent
ba165de94e
commit
dcc98c3efb
@ -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