Patrick Brosi 4 years ago
parent
commit
7e36c399b5
2 changed files with 3 additions and 2 deletions
  1. 1 1
      web/index.html
  2. 2 1
      web/script.js

File diff suppressed because it is too large
+ 1 - 1
web/index.html


+ 2 - 1
web/script.js

@@ -91,6 +91,7 @@ function renderStat(stat) {
91
         var row = document.createElement('tr');
91
         var row = document.createElement('tr');
92
         var col1 = document.createElement('td');
92
         var col1 = document.createElement('td');
93
         var col2 = document.createElement('td');
93
         var col2 = document.createElement('td');
94
+        col2.className = "err-wrap";
94
         tbody.appendChild(row);
95
         tbody.appendChild(row);
95
         row.appendChild(col1);
96
         row.appendChild(col1);
96
         row.appendChild(col2);
97
         row.appendChild(col2);
@@ -107,7 +108,7 @@ function renderStat(stat) {
107
         var info = document.createElement('div');
108
         var info = document.createElement('div');
108
 
109
 
109
         if (err.other_osmid != stat.osmid) {
110
         if (err.other_osmid != stat.osmid) {
110
-            info.innerHTML = "Does not match node <a onmouseover='nodeHl( " + err.other + ")' onmouseout='nodeUnHl( " + err.other + ")' target=\"_blank\" href=\"https://www.openstreetmap.org/node/" + err.other_osmid + "\">" + err.other_osmid + "</a>";
111
+            info.innerHTML = "Does not match <tt>" + err.other_attr[0] + "</tt> in node <a onmouseover='nodeHl( " + err.other + ")' onmouseout='nodeUnHl( " + err.other + ")' target=\"_blank\" href=\"https://www.openstreetmap.org/node/" + err.other_osmid + "\">" + err.other_osmid + "</a>";
111
         } else {
112
         } else {
112
             info.innerHTML = "Does not match '" + err.other_attr[0] + "' = '" + err.other_attr[1];
113
             info.innerHTML = "Does not match '" + err.other_attr[0] + "' = '" + err.other_attr[1];
113
         }
114
         }