use void 0

This commit is contained in:
j 2014-11-21 16:52:09 +00:00
parent ee76256bae
commit 7e5b46a5f0

View file

@ -446,7 +446,7 @@ pandora.createLinks = function($element) {
pandora.api.addClips({
clips: pandora.getClipData(items),
edit: target,
index: pandora.$ui.editPanel ? pandora.$ui.editPanel.getPasteIndex() : null
index: pandora.$ui.editPanel ? pandora.$ui.editPanel.getPasteIndex() : void 0
}, function(result) {
// adding clips creates new ids, so mutate items in history
items.splice.apply(items, [0, items.length].concat(pandora.getClipItems(result.data.clips)));