Skip to content

Commit

Permalink
Corrigindo para não atualizar ao alterar input de busca.
Browse files Browse the repository at this point in the history
  • Loading branch information
avictormorais committed Jul 2, 2024
1 parent 1d74abd commit eba3cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ addEventListener("DOMContentLoaded", (event) => {

//// atualizar poster ao algum input ser alterado
let timeoutId;
document.querySelectorAll('input').forEach(input => {
document.querySelectorAll('input:not(#buscaAlbum)').forEach(input => {
input.addEventListener('input', () => {
clearTimeout(timeoutId);
timeoutId = setTimeout(() => {
Expand Down

0 comments on commit eba3cc6

Please sign in to comment.