Forgot that shifting returns single element instead of full array

This commit is contained in:
j0be 2016-09-26 12:56:28 -04:00 committed by GitHub
parent 43b030be6e
commit 847949e60b

View file

@ -265,9 +265,8 @@ var pdApp = {
pdApp.processInfo.after = items[0].data.name;
}
if (edited === false) {
items = items.shift();
items.shift();
}
if (items.length > 0) {
pdApp.process.handle.item(items,edited);
} else {