summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-samba4/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorRani Hod <rani.hod@gmail.com>2023-10-02 18:01:54 +0300
committerPaul Donald <newtwen@gmail.com>2023-12-04 16:35:15 +0100
commit8fcd52f5130acd1a0738ff47f9bba2c9cc42e662 (patch)
treee8d05099250e23e49980d7e5b9d10492deac73ba /applications/luci-app-samba4/htdocs/luci-static/resources/view
parent1e84a03932455e79880e10abc88b92343db8d811 (diff)
luci-app-statistics: regenerate graphs on window resize
Currently graphs are redrawn only based on the refresh interval (never or every 5/30/60 seconds). Since the image size is calculated based on the window size, redraw graphs (once) also after resizing the window. This also captures window resize due to orientation change (e.g., for mobile). Since multiple resize events are fired when dragging the window border, there is a 250ms delay for debouncing. Signed-off-by: Rani Hod <rani.hod@gmail.com> Tested-by: Paul Donald <newtwen@gmail.com>
Diffstat (limited to 'applications/luci-app-samba4/htdocs/luci-static/resources/view')
0 files changed, 0 insertions, 0 deletions