MediaWiki:Common.js: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 82: Line 82:
}
}
$("." + className).wrapAll("<span id='children_group_" + item.el.attr("data-tt-id") + "'></col>");
//$("." + className).wrapAll("<span id='children_group_" + item.el.attr("data-tt-id") + "'></col>");
}
}
});
});
Line 135: Line 135:


hide(id);*/
hide(id);*/
$("#children_group_" + $el.attr("data-tt-id")).fadeOut();
$("." + $el.attr("data-tt-id")).fadeOut();
}
}
else {
else {
Line 143: Line 143:
$(child.el).closest("tr").removeClass("tt-hide");
$(child.el).closest("tr").removeClass("tt-hide");
});*/
});*/
$("#children_group_" + $el.attr("data-tt-id")).fadeIn();
$("." + $el.attr("data-tt-id")).fadeIn();
}
}


Confirmedusers, editor, Administrators
886

edits