()
| 40 | |
| 41 | // True if this window should be focusable by various Vim commands (e.g. "nextFrame"). |
| 42 | function isWindowFocusable() { |
| 43 | // Avoid focusing tiny frames. See #1317. |
| 44 | return !DomUtils.windowIsTooSmall() && (document.body?.tagName.toLowerCase() != "frameset"); |
| 45 | } |
| 46 | |
| 47 | // If an input grabs the focus before the user has interacted with the page, then grab it back (if |
| 48 | // the grabBackFocus option is set). |
no outgoing calls
no test coverage detected