1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-19 09:18:18 +03:00

fix comment

This commit is contained in:
Mzhelskiy Maxim 2011-08-26 10:36:58 +00:00
parent 25a8f48222
commit 60863ca5e2
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ ls.comments = (function ($) {
this.aCommentNew=[];
}
if (selfIdComment) {
this.toggleCommentForm(0, true);
this.toggleCommentForm(this.iCurrentShowFormComment, true);
this.setCountNewComment(aCmt.length-1+iCountOld);
} else {
this.setCountNewComment(aCmt.length+iCountOld);

View file

@ -138,7 +138,7 @@ ls.comments = (function ($) {
this.aCommentNew=[];
}
if (selfIdComment) {
this.toggleCommentForm(0, true);
this.toggleCommentForm(this.iCurrentShowFormComment, true);
this.setCountNewComment(aCmt.length-1+iCountOld);
} else {
this.setCountNewComment(aCmt.length+iCountOld);