projects
/
vchess.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Update packages + fix web worker
[vchess.git]
/
client
/
src
/
utils
/
modalClick.js
1
export function
processModalClick
(
e
)
2
{
3
// Close a modal when click on it but outside focused element
4
const
data
=
e
.
target
.
dataset
;
5
if
(!!
data
.
checkbox
)
6
document
.
getElementById
(
data
.
checkbox
).
checked
=
false
;
7
}