mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
reset/autoplay when window PARENT does not exist or does not contain oodles
This commit is contained in:
@@ -99,7 +99,7 @@ export function PatternsTab({ context }) {
|
||||
};
|
||||
const viewingPatternID = viewingPatternData?.id;
|
||||
|
||||
const autoResetPatternOnChange = !window.location.pathname.includes('oodles');
|
||||
const autoResetPatternOnChange = !window.parent?.location.pathname.includes('oodles');
|
||||
|
||||
return (
|
||||
<div className="px-4 w-full dark:text-white text-stone-900 space-y-2 pb-4 flex flex-col overflow-hidden max-h-full">
|
||||
|
||||
Reference in New Issue
Block a user