WIP
This commit is contained in:
parent
fff72cd37c
commit
cb0a79d1e0
@ -102,8 +102,9 @@ $(async function () {
|
|||||||
|
|
||||||
|
|
||||||
const loadImagesTwitch = async(emotesId) => {
|
const loadImagesTwitch = async(emotesId) => {
|
||||||
let loadcount = 0, loadtotal = emotesId.length;
|
let loadcount = 0;
|
||||||
let localPreloaded = false;
|
let loadtotal = emotesId.length;
|
||||||
|
var localPreloaded = false;
|
||||||
for (let i=0; i<emotesId.length; i++) {
|
for (let i=0; i<emotesId.length; i++) {
|
||||||
var image = new Image();
|
var image = new Image();
|
||||||
image.onload = function () {
|
image.onload = function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user