[chore] *: fix typos detected by typos-cli

This commit is contained in:
Bnyro 2024-10-09 11:59:31 +02:00
parent 0253c10b52
commit f31a3a2053
40 changed files with 73 additions and 73 deletions

View file

@ -13,8 +13,8 @@
};
// update the css
var hmtlElement = d.getElementsByTagName("html")[0];
hmtlElement.classList.remove('no-js');
hmtlElement.classList.add('js');
var htmlElement = d.getElementsByTagName("html")[0];
htmlElement.classList.remove('no-js');
htmlElement.classList.add('js');
})(window, document);

View file

@ -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/

View file

@ -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;
}

View file

@ -67,7 +67,7 @@
} */
});
// this event occour only once per element
// this event occur only once per element
event.preventDefault();
});
});