can squeeze a few more characters

This commit is contained in:
Zlatin Balevsky
2019-12-15 13:39:20 +00:00
parent 2d5bd653c1
commit 65a7088463

View File

@ -11,8 +11,8 @@ class SearchStatus {
var mapping = new Map()
var trimmedQuery = this.query
if (this.query.length > 16)
trimmedQuery = this.query.slice(0, 16) + "…"
if (this.query.length > 19)
trimmedQuery = this.query.slice(0, 19) + "…"
var queryLink = new Link(trimmedQuery, "refresh" + refreshType, [this.uuid])
var stopLink = new Link("X", "stopSearch", [this.uuid])