projects
/
vchess.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
TODO: finish draw offer logic + fix inCheck bug (no highlight)
[vchess.git]
/
client
/
src
/
utils
/
modalClick.js
Commit
Line
Data
dcd68c41
BA
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
}