mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Fix
This commit is contained in:
parent
2aa644e5d3
commit
e3f23f4703
2 changed files with 5 additions and 8 deletions
|
@ -2056,15 +2056,12 @@ function getCroppie(uploadCropObject, callback, width, height) {
|
|||
}
|
||||
|
||||
async function setToolTips() {
|
||||
|
||||
var selettor = 'a[data-toggle="tooltip"],div[data-toggle="tooltip"],button[data-toggle="tooltip"],span[data-toggle="tooltip"]';
|
||||
|
||||
|
||||
if (!$(selettor).not('.alreadyTooltip').length) {
|
||||
var selector = '[data-toggle="tooltip"]';
|
||||
if (!$(selector).not('.alreadyTooltip').length) {
|
||||
return false;
|
||||
}
|
||||
$(selettor).not('.alreadyTooltip').tooltip({container: 'body', html: true});
|
||||
$(selettor).not('.alreadyTooltip').on('click', function () {
|
||||
$(selector).not('.alreadyTooltip').tooltip({container: 'body', html: true});
|
||||
$(selector).not('.alreadyTooltip').on('click', function () {
|
||||
var t = this;
|
||||
setTimeout(function () {
|
||||
$(t).tooltip('hide');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue