re-mapped emergency to Enter key

This commit is contained in:
Stephan Richter
2020-11-14 14:37:32 +01:00
parent 810dadef8c
commit a9e7512e3d
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>de.srsoftware</groupId> <groupId>de.srsoftware</groupId>
<artifactId>web4rail</artifactId> <artifactId>web4rail</artifactId>
<version>0.11.26</version> <version>0.11.27</version>
<name>Web4Rail</name> <name>Web4Rail</name>
<packaging>jar</packaging> <packaging>jar</packaging>
<description>Java Model Railway Control</description> <description>Java Model Railway Control</description>

View File

@@ -118,7 +118,7 @@ function heartbeat(data){
} }
function keypress(ev){ function keypress(ev){
if (ev.key === " ") request({realm:"cu",action:"emergency"}) if (ev.code === 'Enter') request({realm:"cu",action:"emergency"});
} }
function moveTile(x,y){ function moveTile(x,y){