mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
parent
a3f80cd4d3
commit
7a4af4df41
@ -96,6 +96,7 @@ class loadSong{
|
|||||||
for(var i = 0; i < 2; i++){
|
for(var i = 0; i < 2; i++){
|
||||||
let filenameAb = filename + (i === 0 ? "a" : "b")
|
let filenameAb = filename + (i === 0 ? "a" : "b")
|
||||||
let img = document.createElement("img")
|
let img = document.createElement("img")
|
||||||
|
img.crossOrigin = "Anonymous"
|
||||||
promises.push(pageEvents.load(img).then(() => {
|
promises.push(pageEvents.load(img).then(() => {
|
||||||
return this.scaleImg(img, filenameAb)
|
return this.scaleImg(img, filenameAb)
|
||||||
}))
|
}))
|
||||||
|
Loading…
Reference in New Issue
Block a user