diff --git a/builds/appchan-x.js b/builds/appchan-x.js index 8bda71823..c7bd79517 100644 --- a/builds/appchan-x.js +++ b/builds/appchan-x.js @@ -14340,17 +14340,15 @@ return Style.dynamicCSS.textContent = Style.dynamic(); }, select: function() { - var hyphenated, option, _i, _len, _ref, _results; + var hyphenated, option, _i, _len, _ref; $.cb.value.call(this); _ref = this.options; - _results = []; for (_i = 0, _len = _ref.length; _i < _len; _i++) { option = _ref[_i]; hyphenated = ("" + this.name + " " + option.value).toLowerCase().replace(/^4/, 'four').replace(/\s+/g, '-'); - _results.push((option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated)); + (option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated); } - return _results; } }, mascot: { diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 6536162aa..f85044701 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -14336,17 +14336,15 @@ return Style.dynamicCSS.textContent = Style.dynamic(); }, select: function() { - var hyphenated, option, _i, _len, _ref, _results; + var hyphenated, option, _i, _len, _ref; $.cb.value.call(this); _ref = this.options; - _results = []; for (_i = 0, _len = _ref.length; _i < _len; _i++) { option = _ref[_i]; hyphenated = ("" + this.name + " " + option.value).toLowerCase().replace(/^4/, 'four').replace(/\s+/g, '-'); - _results.push((option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated)); + (option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated); } - return _results; } }, mascot: { diff --git a/builds/crx/script.js b/builds/crx/script.js index 0452b2976..83d166a47 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -14318,17 +14318,15 @@ return Style.dynamicCSS.textContent = Style.dynamic(); }, select: function() { - var hyphenated, option, _i, _len, _ref, _results; + var hyphenated, option, _i, _len, _ref; $.cb.value.call(this); _ref = this.options; - _results = []; for (_i = 0, _len = _ref.length; _i < _len; _i++) { option = _ref[_i]; hyphenated = ("" + this.name + " " + option.value).toLowerCase().replace(/^4/, 'four').replace(/\s+/g, '-'); - _results.push((option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated)); + (option.value === this.value ? $.addClass : $.rmClass)(doc, hyphenated); } - return _results; } }, mascot: { diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee index ba33204c4..91255834b 100644 --- a/src/General/Settings.coffee +++ b/src/General/Settings.coffee @@ -815,6 +815,7 @@ Settings = for option in @options hyphenated = "#{@name} #{option.value}".toLowerCase().replace(/^4/, 'four').replace /\s+/g, '-' (if option.value is @value then $.addClass else $.rmClass) doc, hyphenated + return mascot: category: ->