summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 22c8080a7..2b4961235 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -862,7 +862,7 @@ clear_selection: function(id)
// one row
if (id) {
- for (var n=0 in this.selection)
+ for (var n in this.selection)
if (this.selection[n] == id) {
this.selection.splice(n,1);
break;