From 58cda1ea8740792beb5d0f3f1de15c51b2f47f82 Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 26 Jan 2022 18:41:31 +0000 Subject: Removed unnecessary variable from for-loop in parse_index_string --- wqflask/wqflask/static/new/javascript/search_results.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/static/new/javascript/search_results.js b/wqflask/wqflask/static/new/javascript/search_results.js index 8ab41f25..17b41812 100644 --- a/wqflask/wqflask/static/new/javascript/search_results.js +++ b/wqflask/wqflask/static/new/javascript/search_results.js @@ -96,7 +96,7 @@ $(function() { parse_index_string = function(idx_string) { index_list = []; _ref = idx_string.split(","); - for (_i = 0, _len = _ref.length; _i < _len; _i++) { + for (_i = 0; _i < _ref.length; _i++) { index_set = _ref[_i]; if (index_set.indexOf('-') !== -1) { try { -- cgit v1.2.3