Force close all tooltips when closing sharing menu
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
3b014e3d60
commit
28551e0f4d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue