We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit eef9786e authored by Brion Vibber's avatar Brion Vibber

click -> focus for reply placeholder trigger; lets keyboarders use it though not super ideal :D

parent 2858f495
......@@ -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);
},
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment