mirror of
https://github.com/simonw/datasette.git
synced 2026-05-28 12:56:18 +02:00
parent
e800312b54
commit
d02072bc9d
1 changed files with 3 additions and 1 deletions
|
|
@ -5,7 +5,9 @@ var MOBILE_COLUMN_DIALOG_TITLE_ID = "mobile-column-actions-title";
|
||||||
function mobileColumnHeaders(manager) {
|
function mobileColumnHeaders(manager) {
|
||||||
return Array.from(
|
return Array.from(
|
||||||
document.querySelectorAll(manager.selectors.tableHeaders),
|
document.querySelectorAll(manager.selectors.tableHeaders),
|
||||||
).filter((th) => th.dataset.column);
|
).filter(
|
||||||
|
(th) => th.dataset.column && th.querySelector(".dropdown-menu-icon"),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function mobileColumnMetaText(th) {
|
function mobileColumnMetaText(th) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue