diff options
author | Dimitrie Hoekstra <dimitriehoekstra@gmail.com> | 2018-08-15 14:37:24 +0300 |
---|---|---|
committer | Dennis Tang <dtang@gitlab.com> | 2019-02-06 16:28:25 +0300 |
commit | 7cdab4da830257b8a34b0b30291906976165c4ad (patch) | |
tree | b89f257d003cec31cc3e3c293f4c6174e788109e /app/assets/javascripts/awards_handler.js | |
parent | 7c54409fe91b73f3e5ddfe7078d0421be2cab772 (diff) |
Changed default tooltip position to be top, instead of bottom
- 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/awards_handler.js')
-rw-r--r-- | app/assets/javascripts/awards_handler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/awards_handler.js b/app/assets/javascripts/awards_handler.js index cace8bb9dba..73ce3e760ab 100644 --- a/app/assets/javascripts/awards_handler.js +++ b/app/assets/javascripts/awards_handler.js @@ -437,7 +437,7 @@ export class AwardsHandler { createAwardButtonForVotesBlock(votesBlock, emojiName) { const buttonHtml = ` - <button class="btn award-control js-emoji-btn has-tooltip active" title="You" data-placement="bottom"> + <button class="btn award-control js-emoji-btn has-tooltip active" title="You"> ${this.emoji.glEmojiTag(emojiName)} <span class="award-control-text js-counter">1</span> </button> |