mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-29 22:18:31 +00:00
Fix FFZ's noty-fications not having a visible close button. Fix inverted dev badge.
This commit is contained in:
parent
d6b1b215d9
commit
4086a2e9fd
3 changed files with 10 additions and 9 deletions
|
@ -46,7 +46,6 @@ FFZ.prototype.setup_bttv = function(delay) {
|
|||
if ( this.is_dashboard ) {
|
||||
this._update_subscribers();
|
||||
this._remove_dash_chart();
|
||||
//this._remove_dash_feed();
|
||||
}
|
||||
|
||||
document.body.classList.add('ffz-bttv');
|
||||
|
@ -61,8 +60,6 @@ FFZ.prototype.setup_bttv = function(delay) {
|
|||
this._chatv.ffzUnloadHost();
|
||||
}
|
||||
|
||||
this.disconnect_extra_chat();
|
||||
|
||||
if ( this._roomv ) {
|
||||
// Disable Chat Pause
|
||||
if ( this.settings.chat_hover_pause )
|
||||
|
@ -73,6 +70,8 @@ FFZ.prototype.setup_bttv = function(delay) {
|
|||
this._roomv.ffzUpdateStatus();
|
||||
}
|
||||
|
||||
this.disconnect_extra_chat();
|
||||
|
||||
// Disable style blocks.
|
||||
this.toggle_style('chat-setup');
|
||||
this.toggle_style('chat-padding');
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
|
||||
|
||||
/* Invert Some Badges */
|
||||
body:not(.ffz-dark) .app-main:not(.theatre) .conversation-window .badges .badge:not(.subscriber):not(.ffz-badge-0),
|
||||
body:not(.ffz-dark) > .chat-container:not(.dark):not(.force-dark) .badges .badge:not(.subscriber):not(.ffz-badge-0),
|
||||
body:not(.ffz-dark) > .ember-chat-container:not(.dark):not(.force-dark) .badges .badge:not(.subscriber):not(.ffz-badge-0),
|
||||
.app-main:not(.theatre) .chat-container:not(.dark):not(.force-dark) .badges .badge:not(.subscriber):not(.ffz-badge-0),
|
||||
.app-main:not(.theatre) .ember-chat-container:not(.dark):not(.force-dark) .badges .badge:not(.subscriber):not(.ffz-badge-0) {
|
||||
body:not(.ffz-dark) .app-main:not(.theatre) .conversation-window .badges .badge:not(.subscriber):not(.ffz-badge-1),
|
||||
body:not(.ffz-dark) > .chat-container:not(.dark):not(.force-dark) .badges .badge:not(.subscriber):not(.ffz-badge-1),
|
||||
body:not(.ffz-dark) > .ember-chat-container:not(.dark):not(.force-dark) .badges .badge:not(.subscriber):not(.ffz-badge-1),
|
||||
.app-main:not(.theatre) .chat-container:not(.dark):not(.force-dark) .badges .badge:not(.subscriber):not(.ffz-badge-1),
|
||||
.app-main:not(.theatre) .ember-chat-container:not(.dark):not(.force-dark) .badges .badge:not(.subscriber):not(.ffz-badge-1) {
|
||||
filter: invert(100%);
|
||||
-webkit-filter: invert(100%);
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
var FFZ = window.FrankerFaceZ,
|
||||
utils = require("../utils");
|
||||
utils = require("../utils"),
|
||||
constants = require("../constants");
|
||||
|
||||
|
||||
// ---------------------
|
||||
|
@ -193,6 +194,7 @@ FFZ.prototype.show_message = function(message) {
|
|||
|
||||
window.noty({
|
||||
text: message,
|
||||
template: '<div class="noty_message"><span class="noty_text"></span><div class="noty_close">' + constants.CLOSE + '</div></div>',
|
||||
theme: "ffzTheme",
|
||||
layout: "bottomCenter",
|
||||
closeWith: ["button"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue