Skip to content

Commit

Permalink
Boomerang: typeof check instead of against undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
nicjansma committed May 13, 2019
1 parent 8938212 commit ff83a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boomerang.js
Original file line number Diff line number Diff line change
Expand Up @@ -2380,7 +2380,7 @@ BOOMR_check_doc_domain();
return this;
}

if (config.site_domain !== undefined) {
if (typeof config.site_domain === "string") {
this.session.domain = config.site_domain;
}

Expand Down

0 comments on commit ff83a96

Please sign in to comment.