diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2019-10-10 13:50:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-10 13:50:56 +0300 |
commit | b1203926f710ed7624bbef8e546217941311f411 (patch) | |
tree | 904e1f1c3700d64c66e30a6e06ab1e9fd12ac1a0 | |
parent | 3b014e3d60e7b329250ce148806711974256ba74 (diff) | |
parent | 28551e0f4d0970f0155349af260e996c29068b7a (diff) |
Force close all tooltips when closing sharing menu (#546)
Force close all tooltips when closing sharing menu
-rw-r--r-- | js/vendor/nextcloud/share.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/vendor/nextcloud/share.js b/js/vendor/nextcloud/share.js index db22c3c3..a939e071 100644 --- a/js/vendor/nextcloud/share.js +++ b/js/vendor/nextcloud/share.js @@ -495,7 +495,8 @@ .tooltip('hide') .tooltip({ placement: 'bottom', - trigger: 'manual' + trigger: 'manual', + trackTooltip: true }) .tooltip('fixTitle') .tooltip('show'); @@ -805,6 +806,7 @@ */ hideDropDown: function (callback) { this.currentShares = null; + $('[data-original-title]').tooltip('hide'); $('#dropdown').slideUp(OC.menuSpeed, function () { Gallery.Share.droppedDown = false; $('#dropdown').remove(); |