blacklists: truncate display of long blacklist rules.

This commit is contained in:
evazion
2018-08-16 13:18:27 -05:00
parent 6ccf4ed9c0
commit d6eecb5466
2 changed files with 21 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ Blacklist.update_sidebar = function() {
link.text(entry.tags);
link.attr("href", `/posts?tags=${encodeURIComponent(entry.tags)}`);
link.attr("title", entry.tags);
link.click(Blacklist.toggle_entry);
count.html(entry.hits);
count.addClass("count");