summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2015-09-14 08:45:16 -0500
committerDrew Blessing <drew@gitlab.com>2015-09-14 08:45:16 -0500
commit539f30ddcfd0cdbe54525e80ee4a7ac46df2bcf0 (patch)
treebe5ee757df7b61a5d4bb076373334a760338b76a
parentd3f5df2bbabf8e79377aa06193d4de2608ea8748 (diff)
downloadgitlab-ce-539f30ddcfd0cdbe54525e80ee4a7ac46df2bcf0.tar.gz
Fix tooltip display in list views
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index a803b66c502..c3da54fd554 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -201,7 +201,7 @@ module ApplicationHelper
class: "#{html_class} js-timeago",
datetime: time.getutc.iso8601,
title: time.in_time_zone.stamp('Aug 21, 2011 9:23pm'),
- data: { toggle: 'tooltip', placement: placement }
+ data: { toggle: 'tooltip', placement: placement, container: 'body' }
element += javascript_tag "$('.js-timeago').timeago()" unless skip_js