fixed bugs with IE

This commit is contained in:
DennisSchiefer
2012-04-16 10:23:31 +01:00
parent 23ca80030e
commit 3a85661e45
3 changed files with 7 additions and 5 deletions
@@ -73,6 +73,8 @@ setLanguage: function(language) {
// change gui language
OSRM.GUI.setLabels();
// requery data
if( OSRM.G.markers == null )
return;
if( OSRM.G.markers.route.length > 1)
OSRM.Routing.getRoute();
else if(OSRM.G.markers.route.length > 0 && document.getElementById('information-box').innerHTML != "" ) {