mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 22:44:22 +08:00
Change click -> onchange event for sort_by buttons
This commit is contained in:
parent
0a77cedaf8
commit
7fb650a125
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ function applySearchCallback() {
|
|||
});
|
||||
|
||||
// Submit form when clicking on sort buttons
|
||||
$('.protocol-sort label').off('click').on('click', function () {
|
||||
$('input[name="sort_by"]').off('change').on('change', function () {
|
||||
$('form.protocols-search-bar').submit();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue