mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-12 17:10:54 +00:00
Make sure settings actually work.
This commit is contained in:
parent
0e939e30ee
commit
ef3f18081c
2 changed files with 22 additions and 22 deletions
|
@ -1087,7 +1087,7 @@ FFZ.settings_info.chatter_count = {
|
|||
|
||||
on_update: function(val) {
|
||||
if ( this._cindex )
|
||||
this._cindex.ffzUpdateChatters();
|
||||
this._cindex.ffzUpdateMetadata('chatters');
|
||||
|
||||
if ( ! val || ! this.rooms )
|
||||
return;
|
||||
|
@ -1172,7 +1172,7 @@ FFZ.settings_info.stream_uptime = {
|
|||
help: 'Display the stream uptime under a channel by the viewer count.',
|
||||
on_update: function(val) {
|
||||
if ( this._cindex )
|
||||
this._cindex.ffzUpdateUptime();
|
||||
this._cindex.ffzUpdateMetadata('uptime');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ metadata.host = {
|
|||
|
||||
order: 98,
|
||||
label: function(user, channel_id, hosting_id) {
|
||||
if ( ! user || user.login === channel_id )
|
||||
if ( ! this.settings.stream_host_button || ! user || user.login === channel_id )
|
||||
return null;
|
||||
|
||||
return channel_id === hosting_id ? 'Unhost' : 'Host';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue