diff options
author | Martin Fischer <martin@push-f.com> | 2021-12-10 09:43:14 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-12-10 09:43:14 +0100 |
commit | 3fb839710a459c2c177adf993df9e02d031c5a5a (patch) | |
tree | 424c7bd011669e2cf62c24390fb672dde67d248f /script.js | |
parent | 71817eeace1c673688866c765dde4bd6a762428c (diff) |
show feature flag on hover
Diffstat (limited to 'script.js')
-rw-r--r-- | script.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,8 @@ a.textContent = feat.title; a.innerHTML = a.innerHTML.replaceAll(/`(.+?)`/g, (_, x) => `<code>${x}</code>`); a.href = feat.url; + if (feat.flag) + a.title = feat.flag; li.appendChild(a); ul.appendChild(li); } |