summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/main.js
diff options
context:
space:
mode:
authorDimitrie Hoekstra <dimitriehoekstra@gmail.com>2018-08-15 13:37:24 +0200
committerDennis Tang <dtang@gitlab.com>2019-02-06 13:28:25 +0000
commit7cdab4da830257b8a34b0b30291906976165c4ad (patch)
treeb89f257d003cec31cc3e3c293f4c6174e788109e /app/assets/javascripts/main.js
parent7c54409fe91b73f3e5ddfe7078d0421be2cab772 (diff)
downloadgitlab-ce-7cdab4da830257b8a34b0b30291906976165c4ad.tar.gz
Changed default tooltip position to be top, instead of bottomtooltips-to-top
- Tooltips, by default, will display at the top of the element, instead of at the bottom - Note actions and emoji awards tooltips are now top-positioned
Diffstat (limited to 'app/assets/javascripts/main.js')
-rw-r--r--app/assets/javascripts/main.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js
index 8e10b3ad912..63db4938cd7 100644
--- a/app/assets/javascripts/main.js
+++ b/app/assets/javascripts/main.js
@@ -124,9 +124,6 @@ function deferredInitialisation() {
selector: '.has-tooltip, [data-toggle="tooltip"]',
trigger: 'hover',
boundary: 'viewport',
- placement(tip, el) {
- return $(el).data('placement') || 'bottom';
- },
});
// Initialize popovers