mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Deepsource
This commit is contained in:
parent
cc613f9fe9
commit
ec2d1fbe8a
4 changed files with 17 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
|||
function checkWebpSupport() {
|
||||
var webpSupport = false;
|
||||
let webpSupport = false;
|
||||
try {
|
||||
webpSupport = document.createElement('canvas').toDataURL('image/webp').indexOf('data:image/webp') === 0;
|
||||
} catch (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue