mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-17 02:16:54 +00:00
4.20.31
* Changed: Set the default chat reply style to Twitch's own, now that messages can be selected. * Fixed: Update the chat replies support for Twitch's default style. * Fixed: Badge tool-tips not working for certain chat messages with additional formatting. (Closes #887) * Fixed: FFZ hiding the `Watch Full Video` button on clips pages if the option to hide the native live viewer count is enabled. (Closes #883) * API Added: `threads` icon.
This commit is contained in:
parent
8fb51dc06b
commit
e7228d2795
19 changed files with 79 additions and 59 deletions
|
@ -346,9 +346,12 @@ export default class Badges extends Module {
|
|||
this.tooltips.types.badge = (target, tip) => {
|
||||
tip.add_class = 'ffz__tooltip--badges';
|
||||
|
||||
const show_previews = this.parent.context.get('tooltip.badge-images'),
|
||||
container = target.parentElement.parentElement,
|
||||
room_id = container.dataset.roomId,
|
||||
const show_previews = this.parent.context.get('tooltip.badge-images');
|
||||
let container = target.parentElement.parentElement;
|
||||
if ( ! container.dataset.roomId )
|
||||
container = target.closest('[data-room-id]');
|
||||
|
||||
const room_id = container.dataset.roomId,
|
||||
room_login = container.dataset.room,
|
||||
data = JSON.parse(target.dataset.badgeData),
|
||||
out = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue