removed window.onload(), JS is at the end of HTML.
*/
const Errors = Object.freeze({ "URL": 1, "CATEGORY": 2 });
-window.onload = function () {
// add search action listener
document.getElementById('search').addEventListener('input', function () {
search(this.value);
@@ -42,7 +41,7 @@ window.onload = function () {
// add action listener to repo scan config selector
document.getElementById('cbAllRules').addEventListener('change', checkFormFilled);
-};
+
/**
* Check if form is filled correctly and handle change
