mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
4.0.0-rc16.1
* Fixed: FrankerFaceZ not loading due to a change in the structure of Twitch pages. * Known Issue: Tooltips not behaving quite right in pop-out chat.
This commit is contained in:
parent
c43e572eec
commit
00859ac966
17 changed files with 27 additions and 22 deletions
|
@ -36,10 +36,10 @@ export default class TooltipProvider extends Module {
|
|||
}
|
||||
|
||||
onEnable() {
|
||||
const container = document.querySelector('.twilight-root,.twilight-minimal-root,.clips-root') || document.body,
|
||||
is_minimal = container && container.classList.contains('twilight-minimal-root');
|
||||
const container = document.querySelector('#root>div,#root,.clips-root') || document.body,
|
||||
is_minimal = false; //container && container.classList.contains('twilight-minimal-root');
|
||||
|
||||
this.tips = new Tooltip(is_minimal ? '.twilight-minimal-root,body' : 'body #root,body', 'ffz-tooltip', {
|
||||
this.tips = new Tooltip(is_minimal ? '.twilight-minimal-root,body' : '#root>div,#root,body', 'ffz-tooltip', {
|
||||
html: true,
|
||||
delayHide: this.checkDelayHide.bind(this),
|
||||
delayShow: this.checkDelayShow.bind(this),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue