Skip to content

Commit

Permalink
export the main function as "default"?
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos committed Mar 14, 2023
1 parent 0154e90 commit f6fb607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_search/static/js/rtd_sphinx_search.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const CLEAR_RESULTS_DELAY = 300;
const RTD_SEARCH_PARAMETER = "rtd_search";


export function initializeSearchAsYouType(config) {
export default function initializeSearchAsYouType(config) {
// Inject our styles for the flyout
document.adoptedStyleSheets = [styles];

Expand Down

0 comments on commit f6fb607

Please sign in to comment.