Fix inline replies (pretty sure I got it this time)

This commit is contained in:
Zach Copley 2011-04-17 20:34:17 -07:00
parent b422a0d21a
commit 443b495a0b
2 changed files with 7 additions and 1 deletions

View File

@ -650,8 +650,14 @@ var SN = { // StatusNet
// and we'll add on the end of it. Will add if needed.
list = $('ul.threaded-replies', notice);
if (list.length == 0) {
console.log("list = 0");
SN.U.NoticeInlineReplyPlaceholder(notice);
list = $('ul.threaded-replies', notice);
} else {
var placeholder = $('li.notice-reply-placeholder', notice);
if (placeholder.length == 0) {
SN.U.NoticeInlineReplyPlaceholder(notice);
}
}
}

2
js/util.min.js vendored

File diff suppressed because one or more lines are too long