1
0
mirror of https://github.com/dkmstr/openuds-gui.git synced 2024-12-22 17:33:48 +03:00

Added check for window not being on an iframe on index.html

This commit is contained in:
Adolfo Gómez García 2021-09-03 01:34:52 +02:00
parent 109de10ef5
commit 46a934e761

View File

@ -77,6 +77,11 @@
} }
} }
// check we are not running on an iframe
if (window.top !== window.self) {
window.top.location = window.location;
}
</script> </script>
<!-- DYNAMIC_DATA --> <!-- DYNAMIC_DATA -->
<script type="text/javascript" src="/uds/utility/i18n/es.js"></script> <script type="text/javascript" src="/uds/utility/i18n/es.js"></script>