projects
/
vchess.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Merge branch 'master' of auder.net:vchess
[vchess.git]
/
client
/
src
/
utils
/
modalClick.js
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
export function processModalClick(e) {
2
// Close a modal when click on it but outside focused element
3
const data = e.target.dataset;
4
if (data.checkbox) document.getElementById(data.checkbox).checked = false;
5
}