aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/admin/rsrc/main.js2
-rw-r--r--template/standard/rsrc/main.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/admin/rsrc/main.js b/template/admin/rsrc/main.js
index 1870ced..46880f2 100644
--- a/template/admin/rsrc/main.js
+++ b/template/admin/rsrc/main.js
@@ -8,7 +8,7 @@ const next = document.getElementById("next-site");
// Handle arrow keys and change the location to the desired direction
//==============================================================================
document.addEventListener("keyup", function(e) {
- if(!e.ctrlKey && !e.shiftKey) {
+ if(!e.ctrlKey && !e.shiftKey && !e.altKey) {
(e.keyCode === 37 && prev) && (window.location.href = prev.getAttribute("href"));
(e.keyCode === 39 && next) && (window.location.href = next.getAttribute("href"));
}
diff --git a/template/standard/rsrc/main.js b/template/standard/rsrc/main.js
index 6d088e3..f73d061 100644
--- a/template/standard/rsrc/main.js
+++ b/template/standard/rsrc/main.js
@@ -8,7 +8,7 @@ const next = document.getElementById("next-site");
// Handle arrow keys and change the location to the desired direction
//==============================================================================
document.addEventListener("keyup", function(e) {
- if(!e.ctrlKey && !e.shiftKey) {
+ if(!e.ctrlKey && !e.shiftKey && !e.altKey) {
(e.keyCode === 37 && prev) && (window.location.href = prev.getAttribute("href"));
(e.keyCode === 39 && next) && (window.location.href = next.getAttribute("href"));
}