mirror of https://github.com/zlatinb/muwire
can squeeze a few more characters
parent
2d5bd653c1
commit
65a7088463
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue