mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
parent
9fb6cc9d0f
commit
58f4381bca
1 changed files with 12 additions and 0 deletions
|
@ -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) {
|
function _avideoToast(msg, icon) {
|
||||||
var options = {text: msg, hideAfter: 7000};
|
var options = {text: msg, hideAfter: 7000};
|
||||||
if (icon) {
|
if (icon) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue