minor bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-10-29 18:48:31 +03:00
parent b2a9fc1076
commit 49cc0c723d

View File

@ -270,7 +270,7 @@ module.DataPrototype = {
// -> data // -> data
// //
// //
// Two extra argumants are considered: // Two extra arguments are considered:
// - deep - if set to true (default), when cleared a ribbon all // - deep - if set to true (default), when cleared a ribbon all
// images within that ribbon will also be cleared. // images within that ribbon will also be cleared.
// - clear_empty // - clear_empty
@ -724,7 +724,6 @@ module.DataPrototype = {
// get the actual bounds... // get the actual bounds...
from = Math.max(0, from) from = Math.max(0, from)
to = Math.min(list.length-1, to)
return list.slice(from, to) return list.slice(from, to)
}, },