diff options
Diffstat (limited to 'js/Sinks/CFSCOPE.js')
-rw-r--r-- | js/Sinks/CFSCOPE.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sinks/CFSCOPE.js b/js/Sinks/CFSCOPE.js index 57294d55..928fb538 100644 --- a/js/Sinks/CFSCOPE.js +++ b/js/Sinks/CFSCOPE.js @@ -88,10 +88,10 @@ function CFSCOPE() { 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 = [[0],[this.ymin],[this.ymax],[this.per]]; |