Skip to content

Node.js based forum software built for the modern web

timeago widgets

Barış Soner Uşaklı53db052ccafe
diff --git a/public/src/widgets.js b/public/src/widgets.js
index 936ce9cd95..fea7814c9d 100644
--- a/public/src/widgets.js
+++ b/public/src/widgets.js
@@ -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', {});