Browse Source
Merge pull request #7055 from abpframework/issue/6709
fix: Clear filter doesn't work on Docs
pull/7056/head
Alper Ebicoglu
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
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); |
|
|
|
}) |
|
|
|
|
|
|
|
$('#filter').keyup(function (e) { |
|
|
|
if (e.key === 'Enter') { |
|
|
|
gotoFilteredDocumentIfThereIsOnlyOne(); |
|
|
|
} |
|
|
|
|