1
0
Fork 0
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:
SirStendec 2016-10-01 14:11:49 -04:00
parent 7d35b5c8c3
commit 91051d2a11
15 changed files with 197 additions and 339 deletions

View file

@ -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,