aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/display-generator.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-29 19:52:24 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-01 21:00:07 -0500
commitdd700af0be94d33802dfc71e2c14abbad8a34578 (patch)
tree214f4efda776a1fe9cae9f2b8917fc79a27d146f /ext/mixed/js/display-generator.js
parent05bb4aef71c5c062b451dd04dcd55111f7ba7377 (diff)
Fix tag double click
Diffstat (limited to 'ext/mixed/js/display-generator.js')
-rw-r--r--ext/mixed/js/display-generator.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/mixed/js/display-generator.js b/ext/mixed/js/display-generator.js
index e1710488..8c39d380 100644
--- a/ext/mixed/js/display-generator.js
+++ b/ext/mixed/js/display-generator.js
@@ -252,8 +252,10 @@ class DisplayGenerator {
createTag(details) {
const node = DisplayGenerator._instantiateTemplate(this._tagTemplate);
+ const inner = node.querySelector('.tag-inner');
+
node.title = details.notes;
- node.textContent = details.name;
+ inner.textContent = details.name;
node.dataset.category = details.category;
return node;