From 8e6c876e5582928ab6909cf0f3529a97f622520d Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 27 Aug 2018 14:38:26 +0530 Subject: ignore first and last variable by index, not value --- js/Misc/generic_block3.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'js/Misc/generic_block3.js') diff --git a/js/Misc/generic_block3.js b/js/Misc/generic_block3.js index 55cdf65f..be27368c 100644 --- a/js/Misc/generic_block3.js +++ b/js/Misc/generic_block3.js @@ -70,11 +70,10 @@ function generic_block3() { this.auto0 = arguments[0]["auto0"]; this.depu = parseBoolean(arguments[0]["depu"]); this.dept = parseBoolean(arguments[0]["dept"]); - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; this.function_name = stripblanks(this.function_name); this.xx = this.xx.slice(); this.z = this.z.slice(); -- cgit