Commit d9078749 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'time_ago_fix' into 'master'

Time ago fix for branch compare page

https://dev.gitlab.org/gitlab/gitlabhq/issues/2508

See merge request !1904
parents 997a3b1d d2479a25
:plain :plain
$(".mr_source_commit").html("#{commit_to_html(@commit, @source_project, false)}"); $(".mr_source_commit").html("#{commit_to_html(@commit, @source_project, false)}");
$('.js-timeago').timeago()
:plain :plain
$(".mr_target_commit").html("#{commit_to_html(@commit, @target_project, false)}"); $(".mr_target_commit").html("#{commit_to_html(@commit, @target_project, false)}");
$('.js-timeago').timeago()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment