diff --git a/Asset/js/shrink-vertically.js b/Asset/js/shrink-vertically.js index 0aa205b..ed37888 100644 --- a/Asset/js/shrink-vertically.js +++ b/Asset/js/shrink-vertically.js @@ -1,13 +1,17 @@ /* - * ShrinkVertically -- mark the two vertical-collapse menu items so it is obvious the - * behaviour comes from this plugin and not from Kanboard core. + * ShrinkVertically page scripts (loaded on every page via template:layout:js). Each runs only where + * its elements exist, so both are no-ops elsewhere: * - * Core renders these labels in app/Template/project_header/dropdown.php: - * .filter-vert-collapse .filter-vert-toggle-collapse -> "Collapse vertically" - * .filter-vert-expand .filter-vert-toggle-collapse -> "Expand vertically" + * 1. addPlus() -- mark the two vertical-collapse gear-menu items with a trailing "+" so it is + * obvious the behaviour comes from this plugin and not core. Core renders these labels in + * app/Template/project_header/dropdown.php: + * .filter-vert-collapse .filter-vert-toggle-collapse -> "Collapse vertically" + * .filter-vert-expand .filter-vert-toggle-collapse -> "Expand vertically" + * Editing the rendered text (not the translation table) is locale-independent. * - * We append a "+" to each so they read "Collapse vertically+" / "Expand vertically+". - * This is locale-independent (it edits the rendered text, not the translation table). + * 2. syncAutoAdjust() -- on Settings -> Shrink Vertically, dim + disable the pixel-offset input + * while "Auto adjust" is checked. This lives here (not an inline + here would be blocked by Kanboard's CSP. */ ?> diff --git a/VERSION b/VERSION index 16b3c8b..c800672 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -ShrinkVertically v1.6.1 +ShrinkVertically v1.6.2