".comment" and ".replyTreeLevel0" are both CSS classes of the comment div. Fix for Plone 3 only.

svn path=/plone.app.discussion/trunk/; revision=45189
This commit is contained in:
Timo Stollenwerk 2010-11-04 14:50:30 +00:00
parent 823ada7491
commit 501cee78e2

View File

@ -179,7 +179,7 @@
url: form_url,
context: $(trigger).parents(".comment"),
success: function (data) {
if ($(".discussion .comment .replyTreeLevel0").length === 1) {
if ($(".discussion .replyTreeLevel0").length === 1) {
$(".discussion").fadeOut('fast', function () {
$(".discussion").remove();
});