mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Redirect live stream viewers
This commit is contained in:
parent
286d3acdf5
commit
ec6a7aed46
21 changed files with 630 additions and 133 deletions
|
@ -1307,7 +1307,7 @@ async function avideoConfirmCallBack(msg, confirmCallBackFunction, cancelCallBac
|
|||
|
||||
async function avideoConfirm(msg) {
|
||||
var span = document.createElement("span");
|
||||
span.innerHTML = __(msg);
|
||||
span.innerHTML = __(msg, true);
|
||||
var response = await swal({
|
||||
title: 'Confrim',
|
||||
content: span,
|
||||
|
@ -4332,6 +4332,10 @@ function startTour(stepsFileRelativePath) {
|
|||
// Load Intro.js CSS
|
||||
$('head').append('<link rel="stylesheet" href="' + webSiteRootURL + 'node_modules/intro.js/minified/introjs.min.css" type="text/css" />');
|
||||
|
||||
if (isCurrentThemeDark) {
|
||||
$('head').append('<link rel="stylesheet" href="' + webSiteRootURL + 'node_modules/intro.js/themes/introjs-modern.css" type="text/css" />');
|
||||
}
|
||||
|
||||
// Load Intro.js JavaScript
|
||||
$.getScript(webSiteRootURL + 'node_modules/intro.js/minified/intro.min.js', function () {
|
||||
loadAndStartTour(stepsFileRelativePath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue