Skip to content

Commit

Permalink
still trying to fix window issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tnrich committed Aug 4, 2022
1 parent 55fec6a commit 0813a15
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/tidyUpAnnotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,8 @@ module.exports = function tidyUpAnnotation(
}
if (
allowNonStandardGenbankTypes ||
get(
typeof window !== undefined ? window : global,
"tg_allowNonStandardGenbankTypes"
)
get(window, "tg_allowNonStandardGenbankTypes") ||
get(global, "tg_allowNonStandardGenbankTypes")
)
return true;
return false;
Expand Down

0 comments on commit 0813a15

Please sign in to comment.