allow timeago to be cast on other elements as well, ex. small

This commit is contained in:
psychobunny
2015-03-16 17:22:44 -04:00
parent 82ac542f55
commit 412c5360a6
15 changed files with 16 additions and 16 deletions

View File

@@ -67,7 +67,7 @@ define('forum/categories', function() {
translator.translate(html, function(translatedHTML) {
translatedHTML = $(translatedHTML);
translatedHTML.find('img').addClass('img-responsive');
translatedHTML.find('span.timeago').timeago();
translatedHTML.find('.timeago').timeago();
callback(translatedHTML);
});
});