use 'e' to edit only if accessed via file://

master
Marcell Mars 3 years ago
parent 085d6934bf
commit a51ae25ec7

@ -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)
}
})

Loading…
Cancel
Save