pull/216/head
BingoKingo 2021-02-07 18:08:12 +08:00
parent 212d6b98f1
commit 3ffedf7ea5
1 changed files with 4 additions and 6 deletions

View File

@ -1369,8 +1369,8 @@ function size_format(num) {
function themeinf() { function themeinf() {
swal({ swal({
title: "Tfo' Theme Information", title: "Tfo' Theme Information",
text: "Current Version:20210205"+"/n"+"Can not support automatic update, please update manually or upgrade with the program."+"/n"+"Tfos HomePage on GitHub:"+"/n"+"https://github.com/BingoKingo/Tfo"+"/n"+"Tfos Example Website:"+"/n"+"https://tfo.herokuapp.com/", text: "Current Version: 20210205 \ Can not support automatic update, please update manually or upgrade with the program. \ Tfos HomePage on GitHub: \ https://github.com/BingoKingo/Tfo \ Tfos Example Website: \ https://tfo.herokuapp.com/",
icon: "Info", icon: "info",
buttons: { buttons: {
cancel: "Close", cancel: "Close",
address: "Get Update Address", address: "Get Update Address",
@ -1380,11 +1380,9 @@ function size_format(num) {
.then((value) => { .then((value) => {
switch (value) { switch (value) {
case "address": case "address":
windows.location.href="https://github.com/qkqpttgf/OneManager-php/blob/master/theme/tfo.html"; window.open("https://github.com/qkqpttgf/OneManager-php/blob/master/theme/tfo.html");
swal.close();
case "update": case "update":
windows.location.href="/?setup"; window.open("/?setup");
swal.close();
default: default:
swal.close(); swal.close();
} }