Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2017-06-26 22:28:09 +0300
committerBryce Johnson <bryce@gitlab.com>2017-06-29 21:46:02 +0300
commitdef0f6281029659503f32c4b93e90ac6cbfd6884 (patch)
tree93e576f36403870f5d8414e411869d17fe424c30 /app/assets/javascripts/main.js
parent6205e45727db4d6720b7c3dc6ce010872b4f1628 (diff)
Remove initTimeagoTimeout and let timeago.js update timeagos internally.
MR: !12468
Diffstat (limited to 'app/assets/javascripts/main.js')
-rw-r--r--app/assets/javascripts/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js
index d27b4ec78c6..de1b658f602 100644
--- a/app/assets/javascripts/main.js
+++ b/app/assets/javascripts/main.js
@@ -358,7 +358,7 @@ $(function () {
gl.awardsHandler = new AwardsHandler();
new Aside();
- gl.utils.initTimeagoTimeout();
+ gl.utils.renderTimeago();
$(document).trigger('init.scrolling-tabs');
});