mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
burg temperature graph - corrections
This commit is contained in:
parent
ccb75570da
commit
5f0be0401e
3 changed files with 253 additions and 209 deletions
|
|
@ -52,7 +52,7 @@ function editBurg(id) {
|
|||
document.getElementById("burglLegend").addEventListener("click", editBurgLegend);
|
||||
document.getElementById("burgLock").addEventListener("click", toggleBurgLockButton);
|
||||
document.getElementById("burgRemove").addEventListener("click", removeSelectedBurg);
|
||||
document.getElementById("burgTemperatureGraph").addEventListener("click", showTemperatureGraphs);
|
||||
document.getElementById("burgTemperatureGraph").addEventListener("click", showTemperatureGraph);
|
||||
|
||||
function updateBurgValues() {
|
||||
const id = +elSelected.attr("data-id");
|
||||
|
|
@ -543,11 +543,11 @@ function editBurg(id) {
|
|||
const name = elSelected.text();
|
||||
editNotes("burg" + id, name);
|
||||
}
|
||||
function showTemperatureGraphs() {
|
||||
const id = elSelected.attr("data-id");
|
||||
showTGForBurg(id);
|
||||
}
|
||||
|
||||
function showTemperatureGraph() {
|
||||
const id = elSelected.attr("data-id");
|
||||
showBurgTemperatureGraph(id);
|
||||
}
|
||||
|
||||
function removeSelectedBurg() {
|
||||
const id = +elSelected.attr("data-id");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue