FIX: Only use blockquote which is immediate child of aside
This commit is contained in:
parent
e7fa4c5dd1
commit
fdccfcfa59
|
@ -131,7 +131,7 @@ export default class PostCooked {
|
||||||
if ($aside.data("expanded")) {
|
if ($aside.data("expanded")) {
|
||||||
this._updateQuoteElements($aside, "chevron-up");
|
this._updateQuoteElements($aside, "chevron-up");
|
||||||
// Show expanded quote
|
// Show expanded quote
|
||||||
const $blockQuote = $("blockquote", $aside);
|
const $blockQuote = $("> blockquote", $aside);
|
||||||
$aside.data("original-contents", $blockQuote.html());
|
$aside.data("original-contents", $blockQuote.html());
|
||||||
|
|
||||||
const originalText = $blockQuote.text().trim();
|
const originalText = $blockQuote.text().trim();
|
||||||
|
|
Loading…
Reference in New Issue