Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 636df4e

Browse files
committed
add comment
1 parent ea4467a commit 636df4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sphinx_search/_static/js/rtd_sphinx_search.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ const updateUrl = () => {
8383
let path = window.location.pathname;
8484
let url_params = $.getQueryParameters();
8585

86+
// SEARCH_QUERY should not be an empty string
8687
if (_is_string(SEARCH_QUERY)) {
8788
url_params.rtd_search = SEARCH_QUERY;
8889
} else {

0 commit comments

Comments
 (0)