mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 15:27:43 +00:00
Version bump. Fix Promise detection in non-Webkit browsers. Change how hollow button metadata is colored.
This commit is contained in:
parent
941aab9feb
commit
4c75eac19c
4 changed files with 15 additions and 4 deletions
|
@ -255,7 +255,7 @@ export class Tooltip {
|
|||
}
|
||||
}
|
||||
|
||||
if ( content instanceof Promise ) {
|
||||
if ( content instanceof Promise || (content.then && content.toString() === '[object Promise]') ) {
|
||||
inner.innerHTML = '<div class="ffz-i-zreknarf loader"></div>';
|
||||
content.then(content => {
|
||||
if ( ! content )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue