mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-15 17:46:55 +00:00
4.12.4
* Fixed: The page visibility hook breaking due to a typo and stopping FFZ from fully initializing for users using other page visibility hooks. * Fixed: The setting to hide bits UI not hiding the bits button in chat.
This commit is contained in:
parent
38c87840af
commit
ebb954e6c1
5 changed files with 10 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "frankerfacez",
|
||||
"author": "Dan Salvato LLC",
|
||||
"version": "4.12.3",
|
||||
"version": "4.12.4",
|
||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||
"license": "Apache-2.0",
|
||||
"scripts": {
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
.chat-input button[data-a-target="bits-button"],
|
||||
button[data-test-selector="get-bits-button__top-nav-button"],
|
||||
.channel-header__right > .tw-mg-l-1 > div > div > button:not([data-a-target]) {
|
||||
display: none;
|
||||
display: none !important;
|
||||
}
|
|
@ -493,7 +493,7 @@ export default class Player extends Module {
|
|||
}
|
||||
});
|
||||
} catch(err) {
|
||||
this.log.warning('Unable to install document visibility hook.', err);
|
||||
this.log.warn('Unable to install document visibility hook.', err);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ export default class Switchboard extends Module {
|
|||
try {
|
||||
component = component_class.Preload();
|
||||
} catch(err) {
|
||||
this.log.error('Error instantiating preloader for forced chunk loading.', err);
|
||||
this.log.warn('Error instantiating preloader for forced chunk loading.', err);
|
||||
component = null;
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ export default class Switchboard extends Module {
|
|||
try {
|
||||
component = new route.props.component;
|
||||
} catch(err) {
|
||||
this.log.error('Error instantiating component for forced chunk loading.', err);
|
||||
this.log.warn('Error instantiating component for forced chunk loading.', err);
|
||||
component = null;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,10 @@ export class Logger {
|
|||
return this.invoke(Logger.WARN, args);
|
||||
}
|
||||
|
||||
warning(...args) {
|
||||
return this.invoke(Logger.WARN, args);
|
||||
}
|
||||
|
||||
error(...args) {
|
||||
return this.invoke(Logger.ERROR, args);
|
||||
}
|
||||
|
@ -115,6 +119,7 @@ Logger.DEFAULT_LEVEL = 2;
|
|||
Logger.DEBUG = 1;
|
||||
Logger.INFO = 2;
|
||||
Logger.WARN = 4;
|
||||
Logger.WARNING = 4;
|
||||
Logger.ERROR = 8;
|
||||
Logger.OFF = 99;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue