mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
searching on keyup instead of enter key
This commit is contained in:
@@ -31,9 +31,7 @@ define('forum/groups/list', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Group searching
|
// Group searching
|
||||||
$('#search-text').on('keydown', function(e) {
|
$('#search-text').on('keyup', Groups.search);
|
||||||
if (e.keyCode === 13) { Groups.search(e); }
|
|
||||||
});
|
|
||||||
$('#search-button').on('click', Groups.search);
|
$('#search-button').on('click', Groups.search);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user