Fixed adding filter jumping to top of the page

This commit is contained in:
Risto Lahtela 2021-01-29 12:38:39 +02:00
parent f24abe797e
commit 6c13691a52

View File

@ -224,7 +224,7 @@ function createFilter(filter, id) {
}
function createFilterSelector(parent, index, filter) {
return `<a class="dropdown-item" href="#" onclick="addFilter('${parent}', ${index})">${filter.kind}</a>`;
return `<a class="dropdown-item" href="javascript:void(0)" onclick="addFilter('${parent}', ${index})">${filter.kind}</a>`;
}
function isValidDate(value) {