summaryrefslogtreecommitdiff
path: root/js/Misc/generic_block2.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/generic_block2.js')
-rw-r--r--js/Misc/generic_block2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/generic_block2.js b/js/Misc/generic_block2.js
index dd85d849..91a33aab 100644
--- a/js/Misc/generic_block2.js
+++ b/js/Misc/generic_block2.js
@@ -86,7 +86,7 @@ function generic_block2() {
throw "user error";
var ok = false;
}
- 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";