click -> focus for reply placeholder trigger; lets keyboarders use it though not super ideal :D
This commit is contained in:
parent
2858f495fa
commit
eef9786e36
11
js/util.js
11
js/util.js
@ -638,11 +638,12 @@ var SN = { // StatusNet
|
||||
var placeholder = $('<li class="notice-reply-placeholder">' +
|
||||
'<input class="placeholder">' +
|
||||
'</li>');
|
||||
placeholder.click(function() {
|
||||
SN.U.NoticeInlineReplyTrigger(notice);
|
||||
return false;
|
||||
});
|
||||
placeholder.find('input').val(SN.msg('reply_placeholder'));
|
||||
placeholder.find('input')
|
||||
.val(SN.msg('reply_placeholder'))
|
||||
.focus(function() {
|
||||
SN.U.NoticeInlineReplyTrigger(notice);
|
||||
return false;
|
||||
});
|
||||
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…
Reference in New Issue
Block a user