1
0
mirror of https://github.com/flarum/core.git synced 2025-07-17 23:01:17 +02:00

Call liveHumanTimes() to update ago times every 10s (#2208)

This file has existed for 5 years, yet it was never used.
This commit is contained in:
David Sevilla Martín
2020-06-23 20:50:57 -04:00
committed by GitHub
parent d4905437bd
commit 144e38049e

View File

@@ -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();
}
/**