Skip to content

Node.js based forum software built for the modern web

add responsive class to imgs

Baris Soner Usaklie9b6cdb37a9c
diff --git a/public/src/app.js b/public/src/app.js
index 9098cce749..3feb9b3f2e 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -273,7 +273,7 @@ var socket,
}
$('span.timeago').timeago();
-
+ $('.post-content img').addClass('img-responsive');
setTimeout(function () {
window.scrollTo(0, 1); // rehide address bar on mobile after page load completes.
@@ -342,6 +342,7 @@ var socket,
app.populate_online_users();
app.addCommasToNumbers();
$('span.timeago').timeago();
+ $('.post-content img').addClass('img-responsive');
});
}