1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-25 20:15:47 +02:00

fix search

this fixes 
This commit is contained in:
Benjamin Brahmer 2019-03-14 18:11:19 +01:00
parent 22f751dcab
commit 6814781cca

View File

@ -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();
}
});