X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FQnA%2Fjs%2Fqna.js;h=3da85ea373a07059e90a75f706d6b74a17668808;hb=414a95a784294d63f4c636ef17e468db9428a446;hp=cf211d691244dab8b1d3ef907ff54f120718dac7;hpb=d16af504f6b7158fa5dfca2dde0fa1f9621330ee;p=quix0rs-gnu-social.git diff --git a/plugins/QnA/js/qna.js b/plugins/QnA/js/qna.js index cf211d6912..3da85ea373 100644 --- a/plugins/QnA/js/qna.js +++ b/plugins/QnA/js/qna.js @@ -2,7 +2,7 @@ var QnA = { // @fixme: Should use ID close: function (form, best) { - var notice = $(form).closest('li.hentry.notice.question'); + var notice = $(form).closest('li.h-entry.notice.question'); notice.find('input#qna-best-answer,#qna-question-close').hide(); notice.find('textarea').hide(); @@ -87,7 +87,7 @@ var QnA = { $('body').click(function (e) { var dummyAnswer = $('ul.qna-dummy', notice); var style = dummyAnswer.attr('style'); - var ans = $(notice).find('li.hentry.notice.anwer', notice) + var ans = $(notice).find('li.h-entry.notice.anwer', notice) if (ans > 0) { hideReplyPlaceholders(notice); } @@ -300,7 +300,7 @@ var QnA = { var list = form.closest('.threaded-replies'); // if the inserted notice's parent question needs it give it a placeholder - var ans = questionItem.find('ul > li.hentry.notice.answer'); + var ans = questionItem.find('ul > li.h-entry.notice.answer'); if (ans.length == 0) { SN.U.NoticeInlineReplyPlaceholder(questionItem); }