timeago widgets

This commit is contained in:
Barış Soner Uşaklı
2015-02-23 12:55:44 -05:00
parent 218ecce6c1
commit 53db052cca

View File

@@ -67,9 +67,11 @@
area.addClass('hidden');
ajaxify.widgets.reposition(location);
}
$('#content [widget-area] img:not(.user-img)').addClass('img-responsive');
}
var widgetAreas = $('#content [widget-area]');
widgetAreas.find('img:not(.user-img)').addClass('img-responsive');
widgetAreas.find('span.timeago').timeago();
$(window).trigger('action:widgets.loaded', {});