Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/_IntersectionObserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,6 @@ export default class IntersectionObserver {
throw new TypeError("parameter 2 is not an object.");
}

if ('root' in options && !(options.root instanceof Element)) {
throw new TypeError("member root is not of type Element.");
}


const thresholds = parseThresholds(options.threshold);
const rootMargin = parseMargins(options.rootMargin);

Expand Down