(ev)
| 5739 | } |
| 5740 | |
| 5741 | function viewOptionsOutside(ev) { |
| 5742 | if (!viewOptionsPopover || viewOptionsPopover.style.display === "none") return; |
| 5743 | const anchor = viewOptionsAnchor; |
| 5744 | if (viewOptionsPopover.contains(ev.target)) return; |
| 5745 | if (anchor && (ev.target === anchor || anchor.contains(ev.target))) return; |
| 5746 | hideViewOptionsPopover(); |
| 5747 | } |
| 5748 | |
| 5749 | function viewOptionsEscape(ev) { |
| 5750 | if (ev.key === "Escape") hideViewOptionsPopover(); |
nothing calls this directly
no test coverage detected