bugfix + unified link code
This commit is contained in:
@@ -30,10 +30,6 @@ function addTile(x,y){
|
||||
return request({realm:'plan',action:mode,tile:selected.id,x:x,y:y});
|
||||
}
|
||||
|
||||
function car(id,action){
|
||||
return request({realm:"car",action:action,id:id});
|
||||
}
|
||||
|
||||
function clickTile(x,y){
|
||||
var id = x+"-"+y;
|
||||
if ($('#'+id).length > 0) request({realm:'plan',action:'click',id:id});
|
||||
@@ -222,10 +218,6 @@ function tileWindow(){
|
||||
$('.swapbtn').text(vertical ? '⇩' : '⇨');
|
||||
}
|
||||
|
||||
function train(id,action){
|
||||
return request({realm:'train',action:action,id:id});
|
||||
}
|
||||
|
||||
window.onload = function () {
|
||||
var isDragging = false;
|
||||
$('.menu > div').click(closeMenu);
|
||||
|
||||
Reference in New Issue
Block a user