Fix, again; let it retract cross quotes.

This commit is contained in:
Nicolas Stepien 2011-10-11 00:34:42 +02:00
parent 661c2871cb
commit b58e72d153
2 changed files with 7 additions and 4 deletions

View File

@ -2432,8 +2432,10 @@
_ref = $$('input', table);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
inlined = _ref[_i];
if (!(hidden = $.id(inlined.name)).classList.contains('op')) {
$.x('ancestor::table[1]', hidden).hidden = false;
if (hidden = $.id(inlined.name)) {
if (!hidden.classList.contains('op')) {
$.x('ancestor::table[1]', hidden).hidden = false;
}
}
}
return $.rm(table);

View File

@ -1816,8 +1816,9 @@ quoteInline =
#select the corresponding table or loading td
table = $.x "following::*[@id='i#{id}']", q
for inlined in $$ 'input', table
unless (hidden = $.id inlined.name).classList.contains 'op'
$.x('ancestor::table[1]', hidden).hidden = false
if hidden = $.id inlined.name
unless hidden.classList.contains 'op'
$.x('ancestor::table[1]', hidden).hidden = false
$.rm table
parse: (req, pathname, id, threadID, inline) ->