diff --git a/static/index.js b/static/index.js index 3be7022..5e45401 100644 --- a/static/index.js +++ b/static/index.js @@ -70,7 +70,7 @@ function getLocString(items, item) { function search(e) { const searchAttrs = ['id', 'name', 'type', 'note', 'content']; const query = e.target.value; - const regex = new RegExp(query, 'i') + const regex = new RegExp(query, 'i'); let count = 0; for (const elem of document.getElementsByClassName('result')) {