click -> focus for reply placeholder trigger; lets keyboarders use it though not super ideal :D
This commit is contained in:
parent
2858f495fa
commit
eef9786e36
@ -638,11 +638,12 @@ var SN = { // StatusNet
|
|||||||
var placeholder = $('<li class="notice-reply-placeholder">' +
|
var placeholder = $('<li class="notice-reply-placeholder">' +
|
||||||
'<input class="placeholder">' +
|
'<input class="placeholder">' +
|
||||||
'</li>');
|
'</li>');
|
||||||
placeholder.click(function() {
|
placeholder.find('input')
|
||||||
|
.val(SN.msg('reply_placeholder'))
|
||||||
|
.focus(function() {
|
||||||
SN.U.NoticeInlineReplyTrigger(notice);
|
SN.U.NoticeInlineReplyTrigger(notice);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
placeholder.find('input').val(SN.msg('reply_placeholder'));
|
|
||||||
list.append(placeholder);
|
list.append(placeholder);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
2
js/util.min.js
vendored
2
js/util.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user