summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/js/main
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2024-10-09 11:59:31 +0200
committerBnyro <bnyro@tutanota.com>2024-11-24 12:41:57 +0100
commitf31a3a2053b07b834c5143bd6be4eaf05c1a014d (patch)
tree9f74011af2301a313b6780e711324efd88435b70 /searx/static/themes/simple/src/js/main
parent0253c10b522fe2e8206db78e37066771ce90cf92 (diff)
[chore] *: fix typos detected by typos-cli
Diffstat (limited to 'searx/static/themes/simple/src/js/main')
-rw-r--r--searx/static/themes/simple/src/js/main/00_toolkit.js2
-rw-r--r--searx/static/themes/simple/src/js/main/keyboard.js2
-rw-r--r--searx/static/themes/simple/src/js/main/mapresult.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/searx/static/themes/simple/src/js/main/00_toolkit.js b/searx/static/themes/simple/src/js/main/00_toolkit.js
index e23142412..4e374a019 100644
--- a/searx/static/themes/simple/src/js/main/00_toolkit.js
+++ b/searx/static/themes/simple/src/js/main/00_toolkit.js
@@ -8,7 +8,7 @@ window.searxng = (function (w, d) {
'use strict';
- // not invented here tookit with bugs fixed elsewhere
+ // not invented here toolkit with bugs fixed elsewhere
// purposes : be just good enough and as small as possible
// from https://plainjs.com/javascript/events/live-binding-event-handlers-14/
diff --git a/searx/static/themes/simple/src/js/main/keyboard.js b/searx/static/themes/simple/src/js/main/keyboard.js
index 1fb12cae1..e16134579 100644
--- a/searx/static/themes/simple/src/js/main/keyboard.js
+++ b/searx/static/themes/simple/src/js/main/keyboard.js
@@ -441,7 +441,7 @@ searxng.ready(function () {
var body = document.getElementsByTagName('body')[0];
body.appendChild(helpPanel);
} else {
- // togggle hidden
+ // toggle hidden
helpPanel.classList.toggle('invisible');
return;
}
diff --git a/searx/static/themes/simple/src/js/main/mapresult.js b/searx/static/themes/simple/src/js/main/mapresult.js
index 419bfa9fa..2c3777678 100644
--- a/searx/static/themes/simple/src/js/main/mapresult.js
+++ b/searx/static/themes/simple/src/js/main/mapresult.js
@@ -67,7 +67,7 @@
} */
});
- // this event occour only once per element
+ // this event occur only once per element
event.preventDefault();
});
});