switched back to using normal images in route description (FF wasn't

actually faster, he just reported wrong numbers)
This commit is contained in:
DennisSchiefer 2012-04-19 21:32:07 +02:00
parent 869b13e9db
commit eb3c2f560e
2 changed files with 2 additions and 5 deletions

View File

@ -279,10 +279,7 @@ html, body {
.result-direction
{
width:18px;
height:21px;
background-repeat:no-repeat;
background-position:center;
height:18px;
}
.result-distance
{

View File

@ -66,7 +66,7 @@ show: function(response) {
route_desc += '<tr class="'+rowstyle+'">';
route_desc += '<td class="result-directions">';
route_desc += '<div class="result-direction" style="background-image:url(\''+ OSRM.RoutingDescription.getDrivingInstructionIcon(response.route_instructions[i][0]) + '\');"></div>';
route_desc += '<img class="result-direction" src="'+ OSRM.RoutingDescription.getDrivingInstructionIcon(response.route_instructions[i][0]) + '" alt=""/>';
route_desc += '</td>';
route_desc += '<td class="result-items">';