1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-06-27 16:36:00 +00:00

Use native form reset for filters

This commit is contained in:
Yassine Guedidi 2025-02-23 10:35:14 +01:00
parent 0330d01a49
commit 1e61a51e82
2 changed files with 1 additions and 7 deletions

View file

@ -35,12 +35,6 @@ function initFilters() {
// no display if filters not available
if ($('div').is('#filters')) {
$('#filters.sidenav').sidenav({ edge: 'right' });
$('#clear_form_filters').on('click', () => {
$('#filters input').val('');
$('#filters :checked').removeAttr('checked');
return false;
});
}
}