Browse Source
Merge pull request #18751 from abpframework/salihozkara/fixDocsSearch
Fix search problem
pull/18752/head
Engincan VESKE
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
1 deletions
-
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js
|
|
|
@ -74,7 +74,10 @@ |
|
|
|
}); |
|
|
|
|
|
|
|
function fullSearch(filterText){ |
|
|
|
window.open($('#fullsearch').data('fullsearch-url') + "?keyword=" + encodeURIComponent(filterText)); |
|
|
|
var url = $('#fullsearch').data('fullsearch-url'); |
|
|
|
if(url){ |
|
|
|
window.open(url + "?keyword=" + encodeURIComponent(filterText)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
$('#fullsearch').keyup(function (e) { |
|
|
|
|