update comment

This commit is contained in:
rolux 2014-02-02 13:18:09 +00:00
parent 382f9fce79
commit ca22ed9c8a

View file

@ -357,7 +357,7 @@ Ox.List = function(options, self) {
self.$items[pos].addClass('OxSelected'); self.$items[pos].addClass('OxSelected');
} }
} else { } else {
// allow for 'cursor navigation' if orientation is 'both' // allow for 'cursor navigation' within selection
self.selected.splice(self.selected.indexOf(pos), 1); self.selected.splice(self.selected.indexOf(pos), 1);
self.selected.unshift(pos); self.selected.unshift(pos);
} }