FIX: Only use blockquote which is immediate child of aside

This commit is contained in:
Vinoth Kannan 2018-11-15 18:07:16 +05:30
parent e7fa4c5dd1
commit fdccfcfa59
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ export default class PostCooked {
if ($aside.data("expanded")) {
this._updateQuoteElements($aside, "chevron-up");
// Show expanded quote
const $blockQuote = $("blockquote", $aside);
const $blockQuote = $("> blockquote", $aside);
$aside.data("original-contents", $blockQuote.html());
const originalText = $blockQuote.text().trim();