mirror of
https://github.com/itflow-org/itflow
synced 2026-11-25 05:47:26 +00:00
Tabs on record pages, quick looks, forms, the admin category and tag kinds on a phone and the mail settings fold into More like the list views instead of wrapping onto several lines or scrolling sideways, with More styled as one of the tabs and the open tab and form validation still working
This commit is contained in:
@@ -47,7 +47,8 @@
|
||||
}
|
||||
|
||||
function updatePills(doc) {
|
||||
const now = document.querySelectorAll('.itflow-asset-tabs .nav-link');
|
||||
// Not More (js/tab_fold.js) - it isn't in the fetched page
|
||||
const now = document.querySelectorAll('.itflow-asset-tabs .nav-link:not(.itflow-tabs-more-toggle)');
|
||||
const fresh = doc.querySelectorAll('.itflow-asset-tabs .nav-link');
|
||||
if (now.length !== fresh.length) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user