mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 15:27:43 +00:00
Change multi-badge tooltips to put two badges on each line for a nicer display. Fix replacing badges while also setting per-user badge overrides.
This commit is contained in:
parent
2efbd1ae59
commit
8e27f2e6a3
3 changed files with 38 additions and 14 deletions
|
@ -217,6 +217,11 @@ export class Tooltip {
|
|||
|
||||
arrow.setAttribute('x-arrow', true);
|
||||
|
||||
if ( tip.add_class ) {
|
||||
inner.classList.add(tip.add_class);
|
||||
tip.add_class = undefined;
|
||||
}
|
||||
|
||||
const interactive = maybe_call(opts.interactive, null, target, tip);
|
||||
el.classList.toggle('interactive', interactive || false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue