Disable forwarding for framed content

This commit is contained in:
Nicholas Jitkoff 2022-06-30 08:50:57 -07:00
parent 626b7fc6ea
commit 9541d4c673

View file

@ -39,6 +39,8 @@
}
window.showLoader = showLoader;
// Document Attribute Setters
function setThemeColor(color) {
let el = document.getElementById("themeColor");
if (!el) {
@ -158,7 +160,7 @@
var fragment = window.location.hash.substring(1);
if (fragment.length < 3) {
if (fragment.length < 3 && !isFramed) {
return location.href = "/edit";
}