bugfix
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>de.srsoftware</groupId>
|
||||
<artifactId>web4rail</artifactId>
|
||||
<version>1.3.12</version>
|
||||
<version>1.3.13</version>
|
||||
<name>Web4Rail</name>
|
||||
<packaging>jar</packaging>
|
||||
<description>Java Model Railway Control</description>
|
||||
|
||||
@@ -165,7 +165,10 @@ function moveTile(x,y){
|
||||
}
|
||||
|
||||
function place(data){
|
||||
$('#'+$(data).attr('id')).replaceWith(data);
|
||||
var elem = $('#'+$(data).attr('id'));
|
||||
if (elem.length) {
|
||||
elem.replaceWith(data);
|
||||
} else $('#scroll').append(data);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user