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

Commit ef2a5c79 authored by Sarven Capadisli's avatar Sarven Capadisli

Fixed in reply to JS link for Conversation page. Handles nested

notices better.
parent f1a61cf6
......@@ -235,10 +235,10 @@ function NoticeHover() {
function NoticeReply() {
if ($('#notice_data-text').length > 0) {
$('#content .notice').each(function() {
var notice = $(this);
$('.notice_reply', $(this)).click(function() {
var nickname = ($('.author .nickname', notice).length > 0) ? $('.author .nickname', notice) : $('.author .nickname');
NoticeReplySet(nickname.text(), $('.notice_id', notice).text());
var notice = $(this)[0];
$($('.notice_reply', notice)[0]).click(function() {
var nickname = ($('.author .nickname', notice).length > 0) ? $($('.author .nickname', notice)[0]) : $('.author .nickname');
NoticeReplySet(nickname.text(), $($('.notice_id', notice)[0]).text());
return false;
});
});
......
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