mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-24 11:38:30 +00:00
Replace all the process_value
functions with a helper from utilities. Hide creative tags on the channel page.
This commit is contained in:
parent
7d35b5c8c3
commit
91051d2a11
15 changed files with 197 additions and 339 deletions
|
@ -100,13 +100,9 @@ FFZ.settings_info.input_complete_emotes = {
|
|||
2: "All Emoticons"
|
||||
},
|
||||
|
||||
value: 1,
|
||||
value: 2,
|
||||
|
||||
process_value: function(val) {
|
||||
if ( typeof val === 'string' )
|
||||
return parseInt(val) || 0;
|
||||
return val;
|
||||
},
|
||||
process_value: utils.process_int(2),
|
||||
|
||||
category: "Chat Input",
|
||||
no_bttv: true,
|
||||
|
@ -131,11 +127,7 @@ FFZ.settings_info.input_complete_aliases = {
|
|||
|
||||
value: 1,
|
||||
|
||||
process_value: function(val) {
|
||||
if ( typeof val === 'string' )
|
||||
return parseInt(val) || 0;
|
||||
return val;
|
||||
},
|
||||
process_value: utils.process_int(1),
|
||||
|
||||
category: "Chat Input",
|
||||
no_bttv: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue