Changeset 253 for binary-improvements/webserver/js
- Timestamp:
- Dec 12, 2015, 4:08:53 PM (9 years ago)
- Location:
- binary-improvements/webserver/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/webserver/js/inventory_dialog.js
r251 r253 18 18 qual.removeClass ("visible"); 19 19 20 if (itemdata !== null ) {21 cell.attr("style", "background-image: url(" + ITEMICONBASEURL + itemdata.icon + " @@" + itemdata.iconcolor + ".png);");20 if (itemdata !== null && itemdata !== undefined) { 21 cell.attr("style", "background-image: url(" + ITEMICONBASEURL + itemdata.icon + "__" + itemdata.iconcolor + ".png);"); 22 22 if (itemdata.quality >= 0) { 23 23 cell.attr("title", itemdata.name + " (quality: " + itemdata.quality + ")"); -
binary-improvements/webserver/js/map.js
r251 r253 124 124 125 125 var measure = L.control.measure({ 126 //primaryLengthUnit: "meters", 127 //primaryAreaUnit: "sqmeters", 126 units: { 127 sdtdMeters: { 128 factor: 0.00001, 129 display: 'XMeters', 130 decimals: 0 131 }, 132 sdtdSqMeters: { 133 factor: 0.000000001, 134 display: 'XSqMeters', 135 decimals: 0 136 } 137 }, 138 primaryLengthUnit: "sdtdMeters", 139 primaryAreaUnit: "sdtdSqMeters", 128 140 //activeColor: "#ABE67E", 129 141 //completedColor: "#C8F2BE",
Note:
See TracChangeset
for help on using the changeset viewer.