summaryrefslogtreecommitdiff
path: root/js/Misc/CBLOCK.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/CBLOCK.js')
-rw-r--r--js/Misc/CBLOCK.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/CBLOCK.js b/js/Misc/CBLOCK.js
index 91cec33f..1d9bfc55 100644
--- a/js/Misc/CBLOCK.js
+++ b/js/Misc/CBLOCK.js
@@ -96,7 +96,7 @@ function CBLOCK() {
} else {
var funtyp = 2004;
}
- if ([[this.ci],[this.co]]!=[]) {
+ if ([[this.ci],[this.co]].length!=0) {
if (max([[this.ci],[this.co]])>1) {
message("vector event links not supported");
throw "user error";