From 29c2f88802dff3708a323f7673966d4aee71ba82 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Tue, 10 Jun 2014 00:24:18 +0300 Subject: HTML: define the visited array type to boolean The boolean array must be defined explicitly, to prevent type casting. Signed-off-by: Gehad elrobey Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- theme/list_lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/list_lib.js b/theme/list_lib.js index bf1ef59b1..d7a01c1c0 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -341,7 +341,7 @@ function sort_it(sortOn,function_){ var res = new Array(); var visited = new Array(itemsToShow.length); for(var j=0;j