fix error
This commit is contained in:
parent
8fee6deed2
commit
05e9f992df
@ -18,7 +18,7 @@ let pageVisible = true;
|
|||||||
let debugMode = false;
|
let debugMode = false;
|
||||||
let timeoutHandle;
|
let timeoutHandle;
|
||||||
|
|
||||||
//preload images to avoid firefox NS_BINDING_ABORTED error
|
//preload images to avoid firefox NS_BINDING_ABORTED errorr
|
||||||
const characters = ["Green","Red","Orange","Blue"];
|
const characters = ["Green","Red","Orange","Blue"];
|
||||||
characters.forEach((char) => {
|
characters.forEach((char) => {
|
||||||
new Image().src = 'characterSprites/'+ char +'/Down.png';
|
new Image().src = 'characterSprites/'+ char +'/Down.png';
|
||||||
|
Loading…
Reference in New Issue
Block a user