Browse Source

fix: Clear filter doesn't work on Docs

resolves https://github.com/abpframework/abp/issues/6709
pull/7055/head
Yunus Emre Kalkan 6 years ago
parent
commit
751658f18a
  1. 4
      modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js

4
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js

@ -71,9 +71,11 @@
}); });
}; };
$('#filter').keyup(function (e) { $('#filter').on('input', (e) => {
filterDocumentItems(e.target.value); filterDocumentItems(e.target.value);
})
$('#filter').keyup(function (e) {
if (e.key === 'Enter') { if (e.key === 'Enter') {
gotoFilteredDocumentIfThereIsOnlyOne(); gotoFilteredDocumentIfThereIsOnlyOne();
} }

Loading…
Cancel
Save