summaryrefslogtreecommitdiff
path: root/js/Misc/generic_block.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/generic_block.js')
-rw-r--r--js/Misc/generic_block.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/generic_block.js b/js/Misc/generic_block.js
index cfe26859..12e9bfcf 100644
--- a/js/Misc/generic_block.js
+++ b/js/Misc/generic_block.js
@@ -82,7 +82,7 @@ function generic_block() {
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";