Skip to content

Commit

Permalink
Change endpoint check from null to document
Browse files Browse the repository at this point in the history
In whatwg#8886 I made the endpoint
parameter in hide all popovers until never null by making it either a
document or an element, but I forgot to change this null check to a
document check.

Fixes whatwg#8963
  • Loading branch information
josepharhar committed Mar 1, 2023
1 parent 031d3f1 commit d58d003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -82120,8 +82120,8 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
</ol>
</li>

<li><p>If <var>endpoint</var> is null, then run <var>closeAllOpenPopovers</var> and
return.</p></li>
<li><p>If <var>endpoint</var> is a <code>Document</code>, then run
<var>closeAllOpenPopovers</var> and return.</p></li>

<li><p>Let <var>lastToHide</var> be null.</p></li>

Expand Down

0 comments on commit d58d003

Please sign in to comment.