1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-26 04:28:31 +00:00
* Added: Setting to hide the "Discover Luna" link in the top navigation.
* Changed: Hide blocked categories from the directory's category list.
* Fixed: Stream up-times not appearing in the directory.
* Fixed: Error in error handler for PubSub.
* API Added: `Dialog` now supports prepending its element to its container, rather than appending.
* API Added: `tip.add_class` for adding additional classes to rich tooltips that may now have had their element created yet.
This commit is contained in:
SirStendec 2021-11-05 18:01:28 -04:00
parent 032c8821df
commit 76b72b86c8
22 changed files with 219 additions and 156 deletions

View file

@ -301,7 +301,8 @@ export class Tooltip {
inner.classList.add(`${opts.innerClass}--align-${tip.align}`);
if ( tip.add_class ) {
inner.classList.add(tip.add_class);
for(const cls of Array.isArray(tip.add_class) ? tip.add_class : [tip.add_class])
inner.classList.add(cls);
tip.add_class = undefined;
}