FIX: Videos were missing from expanded quotes

This commit is contained in:
Robin Ward 2017-05-11 16:54:32 -04:00
parent f3c535b945
commit 92d63b59a7
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ export default class PostCooked {
ajax(`/posts/by_number/${topicId}/${postId}`).then(result => {
const div = $("<div class='expanded-quote'></div>");
div.html(result.cooked);
_decorators.forEach(cb => cb(div, this.decoratorHelper));
div.highlight(originalText, {caseSensitive: true, element: 'span', className: 'highlighted'});
$blockQuote.showHtml(div, 'fast', finished);
}).catch((e) => {