fix(bg): correct image to pre-load and optimized bg image

This commit is contained in:
nixa 2016-05-25 17:16:46 +03:00
parent e44109e380
commit 774bebfcd2
3 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ export class BaImageLoaderService {
return new Promise((resolve, reject) => {
let img = new Image();
img.src = src;
img.onload = function(){
img.onload = function() {
resolve('Image with src ' + src + ' loaded successfully.');
};
});