File tree 1 file changed +14
-14
lines changed
zscript/accensus/merchant/menu/handlers
1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -19,25 +19,25 @@ class MerchantMenuHandler : MerchZFHandler {
19
19
switch (cmd) {
20
20
case 'toggleCategoryCollapse':
21
21
if (hdm_debug) console.printf("Toggle Category Collapsed...");
22
- let toggleBtn = MerchantCategoryToggleButton(btn);
23
- if (toggleBtn) {
24
- if (hdm_debug) console.printf("Toggle Button Exists");
25
- let itemsFrame = toggleBtn.targetEl;
22
+ let toggleBtn = MerchantCategoryToggleButton(btn);
23
+ if (toggleBtn) {
24
+ if (hdm_debug) console.printf("Toggle Button Exists");
25
+ let itemsFrame = toggleBtn.targetEl;
26
26
27
- if (itemsFrame) {
28
- if (hdm_debug) console.printf("Target Element Exists");
29
- itemsFrame.setHidden(on);
30
-
31
- if (hdm_debug) console.printf("Target Element is now "..(itemsFrame.isHidden() ? "hidden" : "visible"));
27
+ if (itemsFrame) {
28
+ if (hdm_debug) console.printf("Target Element Exists");
29
+ itemsFrame.setHidden(on);
30
+
31
+ if (hdm_debug) console.printf("Target Element is now "..(itemsFrame.isHidden() ? "hidden" : "visible"));
32
32
33
33
menu.setScrollHeight();
34
34
menu.buildFocusableBtns();
35
+ }
35
36
}
36
- }
37
- break;
38
- default:
39
- if (hdm_debug) console.printf("Unknown Command: "..cmd);
40
- break;
37
+ break;
38
+ default:
39
+ if (hdm_debug) console.printf("Unknown Command: "..cmd);
40
+ break;
41
41
}
42
42
}
43
43
}
You can’t perform that action at this time.
0 commit comments