diff --git a/docs/index.js b/docs/index.js index 2a5cccf..223ecdf 100644 --- a/docs/index.js +++ b/docs/index.js @@ -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"; }