Commit 17542a78 authored by Filipa Lacerda's avatar Filipa Lacerda

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
......@@ -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({
......
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