mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-25 20:48:27 +00:00
prettier
This commit is contained in:
parent
926c893c4f
commit
bfead58212
@ -137,7 +137,7 @@ export const ReplContext = createContext(null);
|
|||||||
export const isUdels = () => {
|
export const isUdels = () => {
|
||||||
const isIframe = window.location !== window.parent.location;
|
const isIframe = window.location !== window.parent.location;
|
||||||
if (isIframe) {
|
if (isIframe) {
|
||||||
return false
|
return false;
|
||||||
}
|
}
|
||||||
return window.parent?.location?.pathname.includes('udels');
|
return window.parent?.location?.pathname.includes('udels');
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user