diff --git a/website/src/repl/util.mjs b/website/src/repl/util.mjs index 27745eec..81c41e9d 100644 --- a/website/src/repl/util.mjs +++ b/website/src/repl/util.mjs @@ -146,4 +146,4 @@ export const setAudioDevice = async (id) => { } } initializeAudioOutput(); -}; \ No newline at end of file +}; diff --git a/website/src/settings.mjs b/website/src/settings.mjs index 5ede6c03..0e433806 100644 --- a/website/src/settings.mjs +++ b/website/src/settings.mjs @@ -172,7 +172,7 @@ export function updateUserCode(code) { setActivePattern(example); return; } - + if (!activePattern) { // create new user pattern activePattern = newUserPattern(); @@ -243,4 +243,4 @@ export async function exportPatterns() { document.body.appendChild(downloadLink); downloadLink.click(); document.body.removeChild(downloadLink); -} \ No newline at end of file +}