add responsive class to imgs

v1.18.x
Baris Soner Usakli 11 years ago
parent 9d36d2c749
commit e9b6cdb37a

@ -273,7 +273,7 @@ var socket,
} }
$('span.timeago').timeago(); $('span.timeago').timeago();
$('.post-content img').addClass('img-responsive');
setTimeout(function () { setTimeout(function () {
window.scrollTo(0, 1); // rehide address bar on mobile after page load completes. window.scrollTo(0, 1); // rehide address bar on mobile after page load completes.
@ -342,6 +342,7 @@ var socket,
app.populate_online_users(); app.populate_online_users();
app.addCommasToNumbers(); app.addCommasToNumbers();
$('span.timeago').timeago(); $('span.timeago').timeago();
$('.post-content img').addClass('img-responsive');
}); });
} }

Loading…
Cancel
Save