Fix inline replies (pretty sure I got it this time)
This commit is contained in:
parent
b422a0d21a
commit
443b495a0b
@ -650,8 +650,14 @@ var SN = { // StatusNet
|
|||||||
// and we'll add on the end of it. Will add if needed.
|
// and we'll add on the end of it. Will add if needed.
|
||||||
list = $('ul.threaded-replies', notice);
|
list = $('ul.threaded-replies', notice);
|
||||||
if (list.length == 0) {
|
if (list.length == 0) {
|
||||||
|
console.log("list = 0");
|
||||||
SN.U.NoticeInlineReplyPlaceholder(notice);
|
SN.U.NoticeInlineReplyPlaceholder(notice);
|
||||||
list = $('ul.threaded-replies', 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
2
js/util.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user