1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
Fix
This commit is contained in:
DanieL 2022-07-10 12:46:57 -03:00
parent 9fb6cc9d0f
commit 58f4381bca

View file

@ -1308,6 +1308,18 @@ function avideoAlertOnce(title, msg, type, uid) {
}
}
function avideoAlertOnceForceConfirm(title, msg, type) {
var span = document.createElement("span");
span.innerHTML = msg;
swal({
title: title,
content: span,
icon: type,
closeOnClickOutside: false,
closeModal: true
});
}
function _avideoToast(msg, icon) {
var options = {text: msg, hideAfter: 7000};
if (icon) {