Skip to content

Node.js based forum software built for the modern web

no need to add img-responsive to all images anymore

psychobunny01542647d44f
diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js
index 0b8988bebf..2104bc04fa 100644
--- a/public/src/client/topic/posts.js
+++ b/public/src/client/topic/posts.js
@@ -253,7 +253,7 @@ define('forum/topic/posts', [
utils.addCommasToNumbers(element.find('.formatted-number'));
utils.makeNumbersHumanReadable(element.find('.human-readable-number'));
element.find('.timeago').timeago();
- element.find('[component="post/content"] img:not(.emoji)').addClass('img-responsive').each(function() {
+ element.find('[component="post/content"] img:not(.emoji)').each(function() {
var $this = $(this);
if (!$this.parent().is('a')) {
$this.wrap('<a href="' + $this.attr('src') + '" target="_blank">');