style fix

This commit is contained in:
Harvey Zack committed 2019-05-08 11:57:21 +08:00
1 parent 1aedc530d5
commit dac68903c5
9 files changed
+16 -16

No files matched your search

+2 -2
View File
@@ -28,7 +28,7 @@
canvas.width = w;
canvas.height = h;
var context = canvas.getContext('2d');
context.filter = `blur(${radius}px)`;
context.filter = 'blur(' + radius + 'px)';
context.drawImage(
img,
-radius,
@@ -73,7 +73,7 @@
$ref.style.backgroundImage = "url(".concat(img, ")");
$ref.style.visibility = 'visible';
$ref.style.opacity = '1';
$ref.style.pointerEvents = 'all';
$ref.style.pointerEvents = 'auto';
});
});
}