1
0
mirror of https://github.com/flarum/core.git synced 2025-05-05 23:15:22 +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 bb567e5278
commit 138c784a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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