summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-12-07 10:19:46 +0100
committerBob Van Landuyt <bob@vanlanduyt.co>2017-12-07 10:19:46 +0100
commita79f7ca3afc9e9e73bf1d3e8ad723dd427c32ac2 (patch)
tree38f52d8ac6858c00206750eead19f92309176610 /app
parent222df36c1576a96a784f11818689297a00cdf4b4 (diff)
downloadgitlab-ce-a79f7ca3afc9e9e73bf1d3e8ad723dd427c32ac2.tar.gz
Don't set timeago title to what was already there.bvl-dont-reset-timeago-title
This didn't actually do anything.
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/lib/utils/datetime_utility.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/lib/utils/datetime_utility.js b/app/assets/javascripts/lib/utils/datetime_utility.js
index 426a81a976d..d0578b230b1 100644
--- a/app/assets/javascripts/lib/utils/datetime_utility.js
+++ b/app/assets/javascripts/lib/utils/datetime_utility.js
@@ -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({