1
0
Fork 0
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:
SirStendec 2017-12-14 16:21:30 -05:00
parent 941aab9feb
commit 4c75eac19c
4 changed files with 15 additions and 4 deletions

View file

@ -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 )