mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 15:27:43 +00:00
Fixed potential future bug with BetterTTV and FFZ Dark Mode.
This commit is contained in:
parent
b284bd0f8d
commit
c568f23134
4 changed files with 22 additions and 2 deletions
|
@ -1322,6 +1322,13 @@ FFZ.prototype.setup_bttv = function(delay) {
|
|||
|
||||
this.track('setCustomVariable', '3', 'BetterTTV', BetterTTV.info.versionString());
|
||||
|
||||
// Disable Dark if it's enabled.
|
||||
document.querySelector(".app-main").classList.remove("ffz-dark");
|
||||
if ( this._dark_style ) {
|
||||
this._dark_style.parentElement.removeChild(this._dark_style);
|
||||
delete this._dark_style;
|
||||
}
|
||||
|
||||
// Send Message Behavior
|
||||
var original_send = BetterTTV.chat.helpers.sendMessage, f = this;
|
||||
BetterTTV.chat.helpers.sendMessage = function(message) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue