forked from 0x2620/pandora
use void 0
This commit is contained in:
parent
ee76256bae
commit
7e5b46a5f0
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ pandora.createLinks = function($element) {
|
||||||
pandora.api.addClips({
|
pandora.api.addClips({
|
||||||
clips: pandora.getClipData(items),
|
clips: pandora.getClipData(items),
|
||||||
edit: target,
|
edit: target,
|
||||||
index: pandora.$ui.editPanel ? pandora.$ui.editPanel.getPasteIndex() : null
|
index: pandora.$ui.editPanel ? pandora.$ui.editPanel.getPasteIndex() : void 0
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
// adding clips creates new ids, so mutate items in history
|
// adding clips creates new ids, so mutate items in history
|
||||||
items.splice.apply(items, [0, items.length].concat(pandora.getClipItems(result.data.clips)));
|
items.splice.apply(items, [0, items.length].concat(pandora.getClipItems(result.data.clips)));
|
||||||
|
|
Loading…
Reference in a new issue