diff --git a/bin/em/variabletime/web/js/record.js b/bin/em/variabletime/web/js/record.js index 0a3ea2c..a4a444f 100644 --- a/bin/em/variabletime/web/js/record.js +++ b/bin/em/variabletime/web/js/record.js @@ -523,23 +523,12 @@ const Record = function(tp) { return new Promise((resolve) => { const layerKeys = Object.keys(hot); const promises = []; - promises.push(() => { - return new Promise((subResolve) => { - const audioOptionsButtons = tp.getPanel() - .querySelectorAll(`.audioButton.active`); - if (audioOptionsButtons !== null) { - audioOptionsButtons.forEach((audioOptionsButton) => { - audioOptionsButton.click(); - }); - } - subResolve(); - }); - }); layerKeys.forEach((layerID) => { const layer = getLayer(layerID); const propTitles = Object.keys(hot[layerID]); const keyframes = []; propTitles.forEach((propTitle) => { + audio.removeAudio(getLayer(layerID),propTitle); // NOTE: layerID is not actually used atm // and should be the layer anyways uncloneInput(layerID, propTitle);