Skip to content

Commit

Permalink
Derp
Browse files Browse the repository at this point in the history
  • Loading branch information
tentone committed Aug 11, 2024
1 parent 19e9910 commit 0eb5c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {IPointCloudTreeNode} from '../types';
* @returns True if running on browser.
*/
export function isBrowser() {
return typeof window !== 'undefined';
return typeof window !== 'undefined' && typeof document !== "undefined";
}

/**
Expand Down

0 comments on commit 0eb5c4f

Please sign in to comment.