mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 07:21:02 -04:00
[#181] update breakpoint to 768, add a TODO
This commit is contained in:
parent
683c323fd5
commit
a1d89464ad
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,7 @@ class App {
|
||||||
this.workerLoaded = false;
|
this.workerLoaded = false;
|
||||||
this.waitersLoaded = false;
|
this.waitersLoaded = false;
|
||||||
|
|
||||||
this.breakpoint = 1024;
|
this.breakpoint = 768;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ class App {
|
||||||
setup() {
|
setup() {
|
||||||
document.dispatchEvent(this.manager.appstart);
|
document.dispatchEvent(this.manager.appstart);
|
||||||
|
|
||||||
|
// @TODO: add a window resize listener
|
||||||
if ( window.innerWidth >= this.breakpoint ) {
|
if ( window.innerWidth >= this.breakpoint ) {
|
||||||
this.initialiseSplitter();
|
this.initialiseSplitter();
|
||||||
this.setCompileMessage();
|
this.setCompileMessage();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue