diff options
author | Liam <liamthekerr@gmail.com> | 2022-09-27 19:29:53 -0400 |
---|---|---|
committer | Liam <liamthekerr@gmail.com> | 2022-09-27 19:29:53 -0400 |
commit | e5707b66d6db2c019bfccf66f9ba53e3daaea40b (patch) | |
tree | 21becdc358730a4e24b4db01cef25093980af60b /javascript/helpers.js | |
parent | 981fe9c4a3994bb42ea5ff5212e4fe53b748bdd9 (diff) |
switched the token counter to use hidden buttons instead of api call
Diffstat (limited to 'javascript/helpers.js')
-rw-r--r-- | javascript/helpers.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/javascript/helpers.js b/javascript/helpers.js deleted file mode 100644 index 1b26931f..00000000 --- a/javascript/helpers.js +++ /dev/null @@ -1,13 +0,0 @@ -// helper functions - -function debounce(func, wait_time) { - let timeout; - return function wrapped(...args) { - let call_function = () => { - clearTimeout(timeout); - func(...args) - } - clearTimeout(timeout); - timeout = setTimeout(call_function, wait_time); - }; -}
\ No newline at end of file |