mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Fix typo in comment
This commit is contained in:
@@ -243,7 +243,7 @@ export class Dropdown {
|
||||
}
|
||||
|
||||
handleDocumentMouseDown(event: MouseEvent) {
|
||||
// Close when clicking outside of the close element
|
||||
// Close when clicking outside of the containing element
|
||||
const path = event.composedPath() as Array<EventTarget>;
|
||||
if (!path.includes(this.containingElement)) {
|
||||
this.hide();
|
||||
|
||||
Reference in New Issue
Block a user