mirror of
https://github.com/danbulant/api_docs
synced 2026-05-21 05:08:48 +00:00
Merge pull request #113 from kevin-buttercoin/master
fixed XSS vuln in searchbox
This commit is contained in:
commit
ed5fa1b75c
1 changed files with 2 additions and 1 deletions
|
|
@ -53,7 +53,8 @@
|
|||
});
|
||||
highlight.call(this);
|
||||
} else {
|
||||
searchResults.html('<li>No Results Found for "' + this.value + '"</li>');
|
||||
searchResults.html('<li></li>');
|
||||
$('.search-results li').text('No Results Found for "' + this.value + '"');
|
||||
}
|
||||
} else {
|
||||
unhighlight();
|
||||
|
|
|
|||
Loading…
Reference in a new issue