1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-24 11:38:30 +00:00
* Added: Display rich tool-tips for channel panels.
* Fixed: Hide Unfollow button in theater mode with the appropriate setting. (Closes #860)
* Fixed: Automatically open Theater Mode not working when the channel is window is not visible. (Closes #861)
* Fixed: Game titles not appearing in clip embeds.
* Fixed: Featured Follow metadata failing when trying to open the menu.
* Debug Added: Setting to choose the link resolver.
* Debug Added: Test UI for working on link resolvers.
This commit is contained in:
SirStendec 2020-07-29 02:22:45 -04:00
parent 05e8428a4a
commit eec65551fb
14 changed files with 519 additions and 86 deletions

View file

@ -47,7 +47,9 @@ export const Links = {
if ( target.dataset.isMail === 'true' )
return [this.i18n.t('tooltip.email-link', 'E-Mail {address}', {address: target.textContent})];
return this.get_link_info(target.dataset.url).then(data => {
const url = target.dataset.url || target.href;
return this.get_link_info(url).then(data => {
if ( ! data || (data.v || 1) > TOOLTIP_VERSION )
return '';