Skip to content
Snippets Groups Projects
Commit 17542a78 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Merge branch 'bvl-dont-reset-timeago-title' into 'master'

Don't set timeago title to what was already there.

See merge request gitlab-org/gitlab-ce!15780
parents 9db9f68f a79f7ca3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -35,8 +35,6 @@ window.dateFormat = dateFormat;
 
w.gl.utils.localTimeAgo = function($timeagoEls, setTimeago = true) {
$timeagoEls.each((i, el) => {
el.setAttribute('title', el.getAttribute('title'));
if (setTimeago) {
// Recreate with custom template
$(el).tooltip({
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment