diff options
author | Ricardo Cino <ricardo@cino.io> | 2022-06-22 00:32:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 22:32:18 +0000 |
commit | 73ba955e344c8ccedd43235495ef8b72b5a2b6fd (patch) | |
tree | 03766ab32fefe7e83026a14393527f1dcbaed849 /src/app.js | |
parent | docs: add cino as a contributor for infra [skip ci] (#330) (diff) | |
download | ferdium-app-73ba955e344c8ccedd43235495ef8b72b5a2b6fd.tar.gz ferdium-app-73ba955e344c8ccedd43235495ef8b72b5a2b6fd.tar.zst ferdium-app-73ba955e344c8ccedd43235495ef8b72b5a2b6fd.zip |
chore: Transform AppStore.js into Typescript (#329)
* turn actions into typescript
* correct tsconfig
* added TypedStore
Diffstat (limited to 'src/app.js')
-rw-r--r-- | src/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.js b/src/app.js index 54fba0c71..c92d044e6 100644 --- a/src/app.js +++ b/src/app.js | |||
@@ -53,8 +53,8 @@ window.addEventListener('load', () => { | |||
53 | // TODO: send this request to the recipe.js | 53 | // TODO: send this request to the recipe.js |
54 | window.addEventListener('mouseup', e => { | 54 | window.addEventListener('mouseup', e => { |
55 | if (e.button === 3 || e.button === 4) { | 55 | if (e.button === 3 || e.button === 4) { |
56 | e.preventDefault() | 56 | e.preventDefault(); |
57 | e.stopPropagation() | 57 | e.stopPropagation(); |
58 | } | 58 | } |
59 | }); | 59 | }); |
60 | 60 | ||