mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-21 05:20:54 +00:00
3.5.37 to 3.5.40. Added Twitch emote mirror. Fixed emote sorting in My Emoticons. Fixed failure to leave chat rooms. Added /ffz reload chat command. Fixed Stream Latency again. Added new API methods. Made settings.get try to load unloaded settings.
This commit is contained in:
parent
d934508b04
commit
acc0010247
15 changed files with 295 additions and 73 deletions
|
@ -828,10 +828,14 @@ FFZ.prototype._setting_load = function(key, default_value) {
|
|||
val = info.process_value.bind(this)(val);
|
||||
|
||||
this.settings[key] = val;
|
||||
return val;
|
||||
}
|
||||
|
||||
|
||||
FFZ.prototype._setting_get = function(key) {
|
||||
if ( ! this.settings.hasOwnProperty(key) && FFZ.settings_info[key] )
|
||||
this._setting_load(key);
|
||||
|
||||
return this.settings[key];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue