diff options
author | Dimitrie Hoekstra <dimitriehoekstra@gmail.com> | 2018-08-15 13:37:24 +0200 |
---|---|---|
committer | Dennis Tang <dtang@gitlab.com> | 2019-02-06 13:28:25 +0000 |
commit | 7cdab4da830257b8a34b0b30291906976165c4ad (patch) | |
tree | b89f257d003cec31cc3e3c293f4c6174e788109e /app/assets/javascripts/main.js | |
parent | 7c54409fe91b73f3e5ddfe7078d0421be2cab772 (diff) | |
download | gitlab-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.js | 3 |
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 |