forked from GNUsocial/gnu-social
Merge remote-tracking branch 'gitorious/1.0.x' into 1.0.x
This commit is contained in:
commit
c06aba6b0a
@ -644,8 +644,8 @@ 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) {
|
||||||
list = $('<ul class="notices threaded-replies xoxo"></ul>');
|
SN.U.NoticeInlineReplyPlaceholder(notice);
|
||||||
notice.append(list);
|
list = $('ul.threaded-replies', notice);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -718,6 +718,11 @@ var SN = { // StatusNet
|
|||||||
|
|
||||||
NoticeInlineReplyPlaceholder: function(notice) {
|
NoticeInlineReplyPlaceholder: function(notice) {
|
||||||
var list = notice.find('ul.threaded-replies');
|
var list = notice.find('ul.threaded-replies');
|
||||||
|
if (list.length == 0) {
|
||||||
|
list = $('<ul class="notices threaded-replies xoxo"></ul>');
|
||||||
|
notice.append(list);
|
||||||
|
list = notice.find('ul.threaded-replies');
|
||||||
|
}
|
||||||
var placeholder = $('<li class="notice-reply-placeholder">' +
|
var placeholder = $('<li class="notice-reply-placeholder">' +
|
||||||
'<input class="placeholder">' +
|
'<input class="placeholder">' +
|
||||||
'</li>');
|
'</li>');
|
||||||
|
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