diff --git a/pom.xml b/pom.xml
index 16211a9..63089eb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
de.srsoftware
web4rail
- 0.11.26
+ 0.11.27
Web4Rail
jar
Java Model Railway Control
diff --git a/resources/js/plan.js b/resources/js/plan.js
index eacccee..1caacfd 100644
--- a/resources/js/plan.js
+++ b/resources/js/plan.js
@@ -118,7 +118,7 @@ function heartbeat(data){
}
function keypress(ev){
- if (ev.key === " ") request({realm:"cu",action:"emergency"})
+ if (ev.code === 'Enter') request({realm:"cu",action:"emergency"});
}
function moveTile(x,y){