mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
[#181] disable popovers on mobile UI on init and resizing events
This commit is contained in:
parent
a252c34968
commit
4a761673c0
6 changed files with 42 additions and 9 deletions
|
@ -30,9 +30,9 @@ class WindowWaiter {
|
|||
debounce(this.app.adjustComponentSizes, 200, "windowResize", this.app, [])();
|
||||
|
||||
if ( window.innerWidth >= this.app.breakpoint ) {
|
||||
this.app.setDesktopLayout(false);
|
||||
this.app.setDesktopUI(false);
|
||||
} else {
|
||||
this.app.setMobileLayout();
|
||||
this.app.setMobileUI();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue