Fixed image loading in cordova

This commit is contained in:
Thibault Blanc Beyne 2018-08-21 16:32:40 +02:00
parent 40950633f7
commit 4eca93ca2d
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ const G = 500;
const MAX_FRAME = 9;
let img = new Image();
img.src = "/img/griezmann.png"
img.src = "img/griezmann.png"
class Box {
constructor() {