diff --git a/assets/js/sandpoints.js b/assets/js/sandpoints.js index f4a8b23..c283f5f 100644 --- a/assets/js/sandpoints.js +++ b/assets/js/sandpoints.js @@ -67,7 +67,7 @@ function editPage(repoJsId) { ev} window.addEventListener("keyup", (e)=> { - if (e.key == "e") { + if (e.key == "e" && location.protocol == "file:") { editPage(sandpointsPageId) } })