Skip to content

Commit

Permalink
Call liveHumanTimes() to update ago times every 10s (#2208)
Browse files Browse the repository at this point in the history
This file has existed for 5 years, yet it was never used.
  • Loading branch information
dsevillamartin authored Jun 24, 2020
1 parent bb567e5 commit 138c784
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/src/common/Application.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -192,6 +193,8 @@ export default class Application {
$(() => {
$('body').addClass('ontouchstart' in window ? 'touch' : 'no-touch');
});

liveHumanTimes();
}

/**
Expand Down

0 comments on commit 138c784

Please sign in to comment.