Force close all tooltips when closing sharing menu

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2019-10-09 08:21:53 +02:00
parent 3b014e3d60
commit 28551e0f4d
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 3 additions and 1 deletions

View File

@ -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();