mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 07:33:12 +09:00
Fixed icons after wiki links changed
This commit is contained in:
1 parent
5de0b6319c
commit
492d678f94
2 files changed
+4
-2
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ function drawcontents(data) {
|
||||
} else if(imagelinks[data[i].name]) {
|
||||
img = imagelinks[data[i].name];
|
||||
} else {
|
||||
img = "https://wiki.factorio.com/images/" + capitalizeFirstLetter(data[i].name) + ".png";
|
||||
img = "https://wiki.factorio.com/images/" + data[i].name.replace('-','_') + ".png";
|
||||
}
|
||||
var searchField = document.querySelector("#search");
|
||||
if(!searchField.value || data[i].name.includes(searchField.value)) {
|
||||
|
||||
Reference in new issue
Block a user