From 6f0b2b9db693475a8184e4100bfa81f8e1cbdaec Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Wed, 6 Jan 2021 10:36:36 -0600 Subject: [PATCH] Remove embedding warning --- src/playground/render-interface.jsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/playground/render-interface.jsx b/src/playground/render-interface.jsx index 107850208..2176209fc 100644 --- a/src/playground/render-interface.jsx +++ b/src/playground/render-interface.jsx @@ -21,12 +21,6 @@ import Description from '../components/tw-description/description.jsx'; import styles from './interface.css'; -if (window !== window.parent) { - // Show a warning when trying to embed this page. Users shouldn't do that. - // eslint-disable-next-line no-alert - alert('You are embedding TurboWarp incorrectly.\n\nGo here for instructions: https://github.com/TurboWarp/scratch-gui/wiki/Embedding'); -} - let announcement = null; if (process.env.ANNOUNCEMENT) { announcement = document.createElement('p');