towerops/assets/js
Graham McIntie 8e25034e69 Move sidebar-collapsed class to <html> element
LiveView DOM patching was stripping the client-side sidebar-collapsed
class from #sidebar-wrapper on every navigation. Fix: put the class
on document.documentElement which LiveView never touches.

- Sync script in <head> applies state before first paint (no flash)
- Hook click handler toggles on <html> + saves to localStorage
- CSS selectors updated to html.sidebar-collapsed
- Removed phx-click JS.toggle_class (hook handles toggle directly)
2026-03-13 14:28:38 -05:00
..
types live device polling 2026-02-01 13:19:32 -06:00
app.ts Move sidebar-collapsed class to <html> element 2026-03-13 14:28:38 -05:00
cookie_consent.js fix user session controller test 2026-02-03 13:42:24 -06:00
device_list_reorder.ts memory leak fixing 2026-01-31 10:40:19 -06:00