Skip to content

Commit d816550

Browse files
committed
reverting to search for error code [netlify-build]
1 parent 5372ad2 commit d816550

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/_includes/content/delivery-overview-discards.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,16 +584,16 @@
584584

585585
<script>
586586
function searchFilter() {
587-
var input, filter, table, tr, td, i, txtValue;
587+
var input, filter, table, tr, samp, i, txtValue;
588588

589589
input = document.getElementById("filterInput");
590590
filter = input.value.toUpperCase();
591591
table = document.getElementById("settingsTable");
592592
tr = document.getElementsByClassName("settingRow");
593593
for (i = 0; i < tr.length; i++) {
594-
td = tr[i].getElementsByTagName("td")[0];
595-
if (td) {
596-
txtValue = td.textContent || td.innerText;
594+
samp = tr[i].getElementsByTagName("samp")[0];
595+
if (samp) {
596+
txtValue = samp.textContent || samp.innerText;
597597
if (txtValue.toUpperCase().indexOf(filter) > -1) {
598598
tr[i].style.display = "";
599599
} else {

0 commit comments

Comments
 (0)