change function name
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
placeholder="Search for packages.."
|
||||
class="form-control"
|
||||
id="table-sort-input"
|
||||
onkeyup="myFunction()"
|
||||
onkeyup="searchFilter()"
|
||||
placeholder="Search for names.."
|
||||
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() {
|
||||
var input, filter, table, tr, td, i, txtValue
|
||||
input = document.getElementById('table-sort-input')
|
||||
filter = input.value.toUpperCase()
|
||||
|
||||
Reference in New Issue
Block a user