Skip to content

Node.js based forum software built for the modern web

fix: jquery selector on post edit

Barış Soner Uşaklıf5ad786240e4
diff --git a/public/src/client/topic/events.js b/public/src/client/topic/events.js
index 4a8a36a768..fa4710d0e3 100644
--- a/public/src/client/topic/events.js
+++ b/public/src/client/topic/events.js
@@ -162,7 +162,7 @@ define('forum/topic/events', [
translator.unescape(data.post.content)
);
parentEl.find('img:not(.not-responsive)').addClass('img-fluid');
- parentEl.find('[component="post/parent/content]" img:not(.emoji)').each(function () {
+ parentEl.find('[component="post/parent/content"] img:not(.emoji)').each(function () {
images.wrapImageInLink($(this));
});
}