diff options
Diffstat (limited to 'js/Sinks/CEVENTSCOPE.js')
-rw-r--r-- | js/Sinks/CEVENTSCOPE.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js index 44261885..13e18eb5 100644 --- a/js/Sinks/CEVENTSCOPE.js +++ b/js/Sinks/CEVENTSCOPE.js @@ -84,10 +84,10 @@ function CEVENTSCOPE() { throw "user error"; } if (ok) { - if (this.wpos==[]) { + if (this.wpos.length==0) { this.wpos = [[-1],[-1]]; } - if (this.wdim==[]) { + if (this.wdim.length==0) { this.wdim = [[-1],[-1]]; } var rpar = this.per; |