mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-02 16:08:31 +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
|
@ -1,3 +1,14 @@
|
|||
<div class="list-header">4.0.0-beta1.5<span>@fbebd8ab68081089f9f4</span> <time datetime="2017-12-13">(2017-12-13)</time></div>
|
||||
<ul class="chat-menu-content menu-side-padding">
|
||||
<li>Fixed: Detection of Promise return values on Firefox, where Promises are apparently not Promises.</li>
|
||||
</ul>
|
||||
|
||||
<div class="list-header">4.0.0-beta1.5<span>@88b2aa86d34d0649d0d5</span> <time datetime="2017-12-13">(2017-12-13)</time></div>
|
||||
<ul class="chat-menu-content menu-side-padding">
|
||||
<li>Added: Host Button</li>
|
||||
<li>Added: Option to hide vodcasts from the directory.</li>
|
||||
</ul>
|
||||
|
||||
<div class="list-header">4.0.0-beta1.4<span>@317c31074720f7071bd3</span> <time datetime="2017-12-13">(2017-12-13)</time></div>
|
||||
<ul class="chat-menu-content menu-side-padding">
|
||||
<li>Fixed: Tooltip positioning.</li>
|
||||
|
|
|
@ -95,7 +95,7 @@ class FrankerFaceZ extends Module {
|
|||
FrankerFaceZ.Logger = Logger;
|
||||
|
||||
const VER = FrankerFaceZ.version_info = {
|
||||
major: 4, minor: 0, revision: 0, extra: '-beta1.4',
|
||||
major: 4, minor: 0, revision: 0, extra: '-beta1.5',
|
||||
build: __webpack_hash__,
|
||||
toString: () =>
|
||||
`${VER.major}.${VER.minor}.${VER.revision}${VER.extra || ''}${DEBUG ? '-dev' : ''}`
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
}
|
||||
|
||||
.tw-theme--ffz, .tw-theme--ffz.tw-theme--dark, .tw-theme--dark, body {
|
||||
.ffz-stat > .tw-button,
|
||||
.ffz-stat.tw-button {
|
||||
.ffz-stat > .tw-button--text,
|
||||
.ffz-stat.tw-button--text {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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