blur theme is now default

This commit is contained in:
nixa 2016-05-17 13:34:52 +03:00
parent 097257b5d7
commit e7595af72c
12 changed files with 44 additions and 9 deletions

View file

@ -43,8 +43,7 @@ export class BaCardBlurHelper {
private _genImageLoadSubject():void {
this.imageLoadSubject = new Subject<void>();
this.image.onerror = () => {
this.imageLoadSubject.error();
this.image.onerror = (err) => {
this.imageLoadSubject.complete();
};
this.image.onload = () => {