1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 14:05:07 +03:00

fix developer

This commit is contained in:
Denis Shakhov 2010-07-28 16:52:50 +00:00
parent 7836a16e7d
commit bbf44a9a05
2 changed files with 7 additions and 5 deletions

View file

@ -211,10 +211,12 @@ p { margin-bottom: 18px; }
/* Content */
.topic .content { overflow: hidden; zoom: 1; margin-bottom: 15px; }
.topic .content p { margin-bottom: 18px; }
.topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; }
.topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; clear: both; }
.topic .content pre { background: #fafafa; border: 1px solid #dce6f0; margin-bottom: 10px; overflow: auto; padding: 5px 10px; }
.topic .content ul { list-style-type: disc; margin-left: 17px; }
.topic .content ol { list-style-type: decimal; margin-left: 22px; }
.topic .content img[align="right"] { margin: 4px 0 5px 15px; }
.topic .content img[align="left"] { margin: 4px 15px 10px 0; }
/* Tags */
.topic .tags { margin: 0 0 6px; padding-left: 23px; background: url(../images/tag.png) no-repeat 0 2px; }
@ -333,7 +335,7 @@ p { margin-bottom: 18px; }
.comment .info.self { background: #faf8f4 !important; }
.comment .info.new { background: #fbfba8 !important; }
.comment .info.del { background: #c5c5c5 !important; }
.comment .info.view { background: #cdf5a6 !important; }
.comment .info.view { background: #a5e7fa !important; }
/* Comment List */
.comments.comment-list .path { padding-bottom: 3px; }

View file

@ -131,7 +131,7 @@ var lsCmtTreeClass = new Class({
if (!bNotFlushNew) {
var aDivComments=$$('.comment');
aDivComments.each(function(item,index){
var divContent=item.getChildren('div.content')[0];
var divContent=item.getChildren('div.comment-inner').getChildren('ul.info')[0];
if (divContent) {
divContent.removeClass('new');
divContent.removeClass('view');
@ -234,9 +234,9 @@ var lsCmtTreeClass = new Class({
}
this.docScroller.start(0,cmt.getPosition().y+deltaY);
if (this.iCommentIdLastView) {
$('comment_content_id_'+this.iCommentIdLastView).removeClass('view');
$('comment_content_id_'+this.iCommentIdLastView).getParent('div.comment-inner').getChildren('ul.info')[0].removeClass('view');
}
$('comment_content_id_'+idComment).addClass('view');
$('comment_content_id_'+idComment).getParent('div.comment-inner').getChildren('ul.info')[0].addClass('view');
this.iCommentIdLastView=idComment;
},