mirror of
https://github.com/sequentialread/pow-captcha.git
synced 2025-11-27 07:48:36 +00:00
fix stupid js bug
This commit is contained in:
parent
c73a9c1c25
commit
4fc983e9c2
@ -1,6 +1,6 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
VERSION="0.0.10"
|
||||
VERSION="0.0.11"
|
||||
|
||||
rm -rf dockerbuild || true
|
||||
mkdir dockerbuild
|
||||
|
||||
@ -62,7 +62,7 @@
|
||||
//todo
|
||||
}
|
||||
|
||||
const cssIsAlreadyLoaded = document.querySelector(`link[href='${url}/static/captcha.css']`);
|
||||
let cssIsAlreadyLoaded = document.querySelector(`link[href='${url}/static/captcha.css']`);
|
||||
|
||||
cssIsAlreadyLoaded = cssIsAlreadyLoaded || Array.from(document.styleSheets).some(x => {
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user