mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
add responsive class to imgs
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user