Sha256: 96e9f8f5bd0b8a72ff935b18d2a56561fafc64f350e47d23383ce3b1982d24e2
Contents?: true
Size: 329 Bytes
Versions: 2
Compression:
Stored size: 329 Bytes
Contents
(($) => { const COMPONENT_SELECTOR = '#thredded--container abbr.timeago'; window.Thredded.onPageLoad(() => { const allowFutureWas = jQuery.timeago.settings.allowFuture; $.timeago.settings.allowFuture = true; $(COMPONENT_SELECTOR).timeago(); $.timeago.settings.allowFuture = allowFutureWas; }); })(jQuery);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thredded-0.8.4 | app/assets/javascripts/thredded/components/time_stamps.es6 |
thredded-0.8.2 | app/assets/javascripts/thredded/components/time_stamps.es6 |