From 138c784a50b023231d068cd00a0487541b968790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sevilla=20Mart=C3=ADn?= <6401250+datitisev@users.noreply.github.com> Date: Tue, 23 Jun 2020 20:50:57 -0400 Subject: [PATCH] Call liveHumanTimes() to update ago times every 10s (#2208) This file has existed for 5 years, yet it was never used. --- js/src/common/Application.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/src/common/Application.js b/js/src/common/Application.js index 3525b4b83..008b967fd 100644 --- a/js/src/common/Application.js +++ b/js/src/common/Application.js @@ -12,6 +12,7 @@ import Drawer from './utils/Drawer'; import mapRoutes from './utils/mapRoutes'; import RequestError from './utils/RequestError'; import ScrollListener from './utils/ScrollListener'; +import liveHumanTimes from './utils/liveHumanTimes'; import { extend } from './extend'; import Forum from './models/Forum'; @@ -192,6 +193,8 @@ export default class Application { $(() => { $('body').addClass('ontouchstart' in window ? 'touch' : 'no-touch'); }); + + liveHumanTimes(); } /**