diff --git a/4chan_x.coffee b/4chan_x.coffee index bd64f8a00..b139b9c61 100644 --- a/4chan_x.coffee +++ b/4chan_x.coffee @@ -330,9 +330,10 @@ options = -> div = AEOS.makeDialog 'options', 'center' hiddenNum = hiddenReplies.length + hiddenThreads.length html = '
Options X
' - for option of config + for option, value of config + description = value[1] checked = if getConfig option then "checked" else "" - html += "
" + html += "
" html += "
Edit Sauce
" html += "
" html += "
" diff --git a/4chan_x.js b/4chan_x.js index 2d9955cb2..2327731ce 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -370,7 +370,7 @@ return ta.style.display ? show(ta) : hide(ta); }; options = function() { - var _i, _ref2, checked, div, hiddenNum, option; + var _ref2, checked, description, div, hiddenNum, option, value; if (div = $('#options')) { return remove(div); } else { @@ -380,9 +380,10 @@ _ref2 = config; for (option in _ref2) { if (!__hasProp.call(_ref2, option)) continue; - _i = _ref2[option]; + value = _ref2[option]; + description = value[1]; checked = getConfig(option) ? "checked" : ""; - html += ("
"); + html += ("
"); } html += "
Edit Sauce
"; html += "
"; diff --git a/changelog b/changelog index 43f93c17e..131f646bd 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,6 @@ +1.7.3 +- fixed descriptions + 1.7.2 - add option descriptions diff --git a/readme b/readme index 6a2d88d76..32bfe6558 100644 --- a/readme +++ b/readme @@ -2,7 +2,7 @@ // @name 4chan x // @namespace aeosynth // @description Adds various features. -// @version 1.7.2 +// @version 1.7.3 // @copyright 2009, 2010 James Campos // @license MIT; http://en.wikipedia.org/wiki/Mit_license // @include http://boards.4chan.org/*