aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/main.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/main.js b/include/main.js
index d137d4c9c..5c4363690 100644
--- a/include/main.js
+++ b/include/main.js
@@ -44,10 +44,11 @@
$('#pause').html('');
}
}
- if(event.keyCode == '36') {
- event.preventDefault();
- if(homebase)
+ if(event.keyCode == '36' && event.shiftKey == true) {
+ if(homebase !== undefined) {
+ event.preventDefault();
document.location = homebase;
+ }
}
});
});