mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
allow timeago to be cast on other elements as well, ex. small
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
|
||||
var widgetAreas = $('#content [widget-area]');
|
||||
widgetAreas.find('img:not(.user-img)').addClass('img-responsive');
|
||||
widgetAreas.find('span.timeago').timeago();
|
||||
widgetAreas.find('.timeago').timeago();
|
||||
widgetAreas.find('img[title].teaser-pic,img[title].user-img').each(function() {
|
||||
$(this).tooltip({
|
||||
placement: 'top',
|
||||
|
||||
Reference in New Issue
Block a user