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:
parent
109de10ef5
commit
46a934e761
@ -77,6 +77,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
// check we are not running on an iframe
|
||||
if (window.top !== window.self) {
|
||||
window.top.location = window.location;
|
||||
}
|
||||
|
||||
</script>
|
||||
<!-- DYNAMIC_DATA -->
|
||||
<script type="text/javascript" src="/uds/utility/i18n/es.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user