'use strict'; 'require baseclass'; 'require ui'; 'require dom'; 'require fs-fit as fit'; /* for the content column's width without a layout read — see the mid-scroll branch in fitTables */ 'require fs-chrome as chrome'; /* Theme plain LuCI popup cannot be CSS-styled. * * The native . */ sel.dataset.fsSelect = 'skip'; console.error('footstrap: a select could not be enhanced', e); return; } const node = dd.render(); const ac = new AbortController(); sel.dataset.fsSelect = '1'; sel.style.display = 'none'; /* the hidden , which this theme has set `display: none` on, so the click does nothing at all. * Focus only, which is the parity stock gets — its `elem.click()` on a ` gives this for free, and it is the only way anyone picks a country out of 248 * entries. enhance() hides the native select, and ui.Dropdown.handleKeydown does only * Esc/Enter/Space/arrows. * * One document-level listener (a dropdown's