mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-04-25 20:15:47 +02:00
parent
22f751dcab
commit
6814781cca
@ -26,8 +26,9 @@ app.directive('newsSearch', function ($document, $location) {
|
||||
});
|
||||
};
|
||||
|
||||
box.on('search keyup', function (event) {
|
||||
box.on('search keydown', function (event) {
|
||||
if (event.type === 'search' || event.keyCode === 13) {
|
||||
event.preventDefault();
|
||||
doSearch();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user