ba card blue fixed

This commit is contained in:
nixa 2016-05-17 14:36:14 +03:00
parent fffe24d7aa
commit 476e3f29a1

View file

@ -37,7 +37,7 @@ export class BaCardBlurHelper {
private _genBgImage():void {
this.image = new Image();
let computedStyle = getComputedStyle(document.body, ':before');
let computedStyle = getComputedStyle(document.body.querySelector('main'), ':before');
this.image.src = computedStyle.backgroundImage.replace(/url\((['"])?(.*?)\1\)/gi, '$2');
}