Update app/vmalert/static/js/custom.js

Co-authored-by: Yury Molodov <yurymolodov@gmail.com>
This commit is contained in:
Victor Amorim dos Santos 2024-02-14 13:56:00 -03:00 committed by GitHub
parent 76a24da2f1
commit 6180065293
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,10 +33,7 @@ function debounce(func, wait, immediate) {
};
};
$('#filter').on("keyup", (debounce(function(){
console.log("type")
filter();
},500)));
$('#filter').on("keyup", debounce(filter, 500));
function filter(){
$(".rule-table").removeClass('show');