add responsive class to imgs

This commit is contained in:
Baris Soner Usakli
2013-10-19 15:58:54 -04:00
parent 9d36d2c749
commit e9b6cdb37a

View File

@@ -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');
}); });
} }