diff options
author | Johann-S <johann.servoire@gmail.com> | 2017-05-23 15:17:07 +0300 |
---|---|---|
committer | Johann-S <johann.servoire@gmail.com> | 2017-05-23 16:19:54 +0300 |
commit | aa36439e173720701c6eac1929c699056714df9c (patch) | |
tree | ff57ca9048de4f793b5ae402ddb966a400bfb595 /js | |
parent | 3706c88348781869c9739b8bbfe078ecb044caf8 (diff) |
Use Popper.js to manage arrow position
Diffstat (limited to 'js')
-rw-r--r-- | js/src/popover.js | 2 | ||||
-rw-r--r-- | js/src/tooltip.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/js/src/popover.js b/js/src/popover.js index f89d3d5c8b..6c9d786647 100644 --- a/js/src/popover.js +++ b/js/src/popover.js @@ -30,7 +30,7 @@ const Popover = (($) => { trigger : 'click', content : '', template : '<div class="popover" role="tooltip">' - + '<div class="arrow"></div>' + + '<div class="arrow" x-arrow></div>' + '<h3 class="popover-title"></h3>' + '<div class="popover-content"></div></div>' }) diff --git a/js/src/tooltip.js b/js/src/tooltip.js index f447ed4ced..ceb9bc04cc 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -60,7 +60,7 @@ const Tooltip = (($) => { const Default = { animation : true, template : '<div class="tooltip" role="tooltip">' - + '<div class="arrow"></div>' + + '<div class="arrow" x-arrow></div>' + '<div class="tooltip-inner"></div></div>', trigger : 'hover focus', title : '', |