Add keyboard shortcuts

This commit is contained in:
2026-04-10 10:03:00 +02:00
parent 06a3da1d54
commit 57e2ce23fe
3 changed files with 38 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
(function () {
document.addEventListener('keydown', function (e) {
if (!e.altKey || !e.shiftKey) return;
switch (e.key) {
case 'E':
e.preventDefault();
window.location.href = window.location.pathname + '?edit';
break;
}
});
})();