From 7e5b46a5f058777264ac80a5d58d60644d6d4cc5 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 21 Nov 2014 16:52:09 +0000 Subject: [PATCH] use void 0 --- static/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index fe2962711..64889917a 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -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)));