diff options
author | tdro <tdro@noreply.example.com> | 2023-04-08 22:26:43 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-04-08 22:26:43 -0400 |
commit | 787b97a30f788957eb471f2ed3f08b66a405b092 (patch) | |
tree | 95f10e86ca44f5bea78c119753a8d09ad675fc0d /static/js/contextmenu.ts | |
parent | f0cbdec755e91fc3f02e96b03e1fc200b135815e (diff) | |
download | canory-787b97a30f788957eb471f2ed3f08b66a405b092.tar.gz canory-787b97a30f788957eb471f2ed3f08b66a405b092.tar.bz2 canory-787b97a30f788957eb471f2ed3f08b66a405b092.zip |
static/js: Babel fish
Diffstat (limited to 'static/js/contextmenu.ts')
-rw-r--r-- | static/js/contextmenu.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/contextmenu.ts b/static/js/contextmenu.ts index dea9bec..b19cf9e 100644 --- a/static/js/contextmenu.ts +++ b/static/js/contextmenu.ts @@ -1,11 +1,11 @@ (function () { - const hide = (triggers) => { + const hide = function (triggers) { for (let i = 0; i < triggers.length; i++) { triggers[i].checked = false; } }; - const hideIfClickedOutside = (menus, triggers, event) => { + const hideIfClickedOutside = function (menus, triggers, event) { for (let i = 0; i < menus.length; i++) { const active = triggers[i].checked === true; const outside = !menus[i].contains(event.target); |