Load JavaScript with async

This commit is contained in:
StevenJoeZhang 2019-06-12 12:21:10 +08:00
parent 79dfa12eea
commit e5f256f88a

View File

@ -7,16 +7,14 @@ $("<link>").attr({href: live2d_path + "waifu.css", rel: "stylesheet", type: "tex
$.ajax({
url: live2d_path + "live2d.min.js",
dataType: "script",
cache: true,
async: false
cache: true
});
//live2d.min.js的绝对路径
$.ajax({
url: live2d_path + "waifu-tips.js",
dataType: "script",
cache: true,
async: false
cache: true
});
//waifu-tips.js的绝对路径