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:
authorPhil Hughes <me@iamphill.com>2016-03-02 14:33:55 +0300
committerPhil Hughes <me@iamphill.com>2016-03-10 11:39:47 +0300
commit3d99ffc862b76c4dcc560aa8d8f4f9c1b7dd3f81 (patch)
tree7e6d6beaaece6348c9c1a5bac60505be914da016 /app/assets/javascripts/notes.js.coffee
parent491ac7ce4b79c901e23799d2062f9f013f08c6c3 (diff)
Edited timeago text on comments
Unified the 'edited text' to be the same in descriptions and comments Closes #5538
Diffstat (limited to 'app/assets/javascripts/notes.js.coffee')
-rw-r--r--app/assets/javascripts/notes.js.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes.js.coffee b/app/assets/javascripts/notes.js.coffee
index c95ead22e6c..063304ce89c 100644
--- a/app/assets/javascripts/notes.js.coffee
+++ b/app/assets/javascripts/notes.js.coffee
@@ -328,6 +328,7 @@ class @Notes
updateNote: (_xhr, note, _status) =>
# Convert returned HTML to a jQuery object so we can modify it further
$html = $(note.html)
+ $('.js-timeago', $html).timeago()
$html.syntaxHighlight()
$html.find('.js-task-list-container').taskList('enable')