Skip to content

Commit

Permalink
unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Mar 1, 2021
1 parent c0eea44 commit 2400c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function search(browser, string) {
locusObject = browser.genome.featureDB[locus.toUpperCase()]
}

if (!locusObject && (false !== browser.config.search)) {
if (!locusObject && (browser.config && false !== browser.config.search)) {
locusObject = await searchWebService(browser, locus, searchConfig)
}
return locusObject
Expand Down

0 comments on commit 2400c68

Please sign in to comment.