muh placebo

This commit is contained in:
Zixaphir 2015-01-12 17:35:37 -07:00
parent ff5fc5d63d
commit c2d6039358
3 changed files with 12 additions and 8 deletions

View File

@ -19414,10 +19414,11 @@
return $.cb.value.call(this); return $.cb.value.call(this);
}, },
style: function(section) { style: function(section) {
var arr, box, description, div, fs, html, input, inputs, items, key, name, nodes, obj, span, type, value, _i, _len, _ref; var arr, box, check, description, div, fs, html, input, inputs, items, key, name, nodes, obj, span, type, value, _i, _len, _ref;
nodes = $.frag(); nodes = $.frag();
items = {}; items = {};
inputs = {}; inputs = {};
box = UI.checkbox;
_ref = Config.style; _ref = Config.style;
for (key in _ref) { for (key in _ref) {
obj = _ref[key]; obj = _ref[key];
@ -19452,8 +19453,8 @@
textContent: description textContent: description
}); });
span.style.display = 'none'; span.style.display = 'none';
$.add(div, [box = UI.checkbox(key, key), span]); $.add(div, [check = box(key, key), span]);
box.className = 'option'; check.className = 'option';
input = $('input', div); input = $('input', div);
} }
items[key] = Conf[key]; items[key] = Conf[key];

View File

@ -19446,10 +19446,11 @@
return $.cb.value.call(this); return $.cb.value.call(this);
}, },
style: function(section) { style: function(section) {
var arr, box, description, div, fs, html, input, inputs, items, key, name, nodes, obj, span, type, value, _i, _len, _ref; var arr, box, check, description, div, fs, html, input, inputs, items, key, name, nodes, obj, span, type, value, _i, _len, _ref;
nodes = $.frag(); nodes = $.frag();
items = {}; items = {};
inputs = {}; inputs = {};
box = UI.checkbox;
_ref = Config.style; _ref = Config.style;
for (key in _ref) { for (key in _ref) {
obj = _ref[key]; obj = _ref[key];
@ -19484,8 +19485,8 @@
textContent: description textContent: description
}); });
span.style.display = 'none'; span.style.display = 'none';
$.add(div, [box = UI.checkbox(key, key), span]); $.add(div, [check = box(key, key), span]);
box.className = 'option'; check.className = 'option';
input = $('input', div); input = $('input', div);
} }
items[key] = Conf[key]; items[key] = Conf[key];

View File

@ -440,6 +440,8 @@ Settings =
items = {} items = {}
inputs = {} inputs = {}
box = UI.checkbox
for key, obj of Config.style for key, obj of Config.style
fs = $.el 'fieldset', fs = $.el 'fieldset',
@ -475,11 +477,11 @@ Settings =
span.style.display = 'none' span.style.display = 'none'
$.add div, [ $.add div, [
box = UI.checkbox key, key check = box key, key
span span
] ]
box.className = 'option' check.className = 'option'
input = $ 'input', div input = $ 'input', div