search-update #44

Merged
anonfunc merged 4 commits from vikingowl/ALHP.GO:search-update into master 2021-09-20 22:09:20 +02:00
Showing only changes of commit 4ca9bea711 - Show all commits

View File

@@ -39,7 +39,7 @@
placeholder="Search for packages.."
class="form-control"
id="table-sort-input"
onkeyup="myFunction()"
onkeyup="searchFilter()"
vikingowl marked this conversation as resolved Outdated

Please choose a more accurate function name.

Please choose a more accurate function name.
placeholder="Search for names.."
anonfunc marked this conversation as resolved Outdated

Duplicate placeholder

Duplicate `placeholder`
title="Type in a name"
/>
@@ -140,7 +140,7 @@
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"
></script>
<script>
function myFunction() {
function searchFilter() {
vikingowl marked this conversation as resolved Outdated

See above.

See above.
var input, filter, table, tr, td, i, txtValue
input = document.getElementById('table-sort-input')
filter = input.value.toUpperCase()