v2.15.1 - Fix: pulsanti Collapse/Expand non compaiono su view.py (solo wato.py)
This commit is contained in:
parent
5892ab78b6
commit
f5f4cc5d26
1 changed files with 1 additions and 0 deletions
|
|
@ -1269,6 +1269,7 @@
|
|||
|
||||
function addAccordionToggleButtons(doc) {
|
||||
if (doc.body.dataset.cmkAccToggle === '1') return;
|
||||
try { if (!/\/wato\.py/.test(doc.location.pathname)) return; } catch (e) { return; }
|
||||
const menues = doc.querySelector('td.menues');
|
||||
if (!menues) return;
|
||||
if (!doc.querySelector('table.nform') && !doc.querySelector('div.foldable')) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue