Skip to content

Commit

Permalink
Remove legacy simulation notification
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed May 23, 2024
1 parent 1ca8b63 commit e773136
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions digiplan/static/js/results.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { statusquoDropdown, futureDropdown } from "./elements.js";

const imageResults = document.getElementById("info_tooltip_results");
const resultSimNote = document.getElementById("result_simnote");

const simulationProgressDiv = document.getElementsByClassName(
"panel-item__calc-alert",
Expand Down Expand Up @@ -183,7 +182,6 @@ function checkResults() {
}

function enableFutureResults(msg) {
resultSimNote.innerText = "";
const options = futureDropdown.querySelectorAll("option");
for (const option of options) {
option.disabled = false;
Expand All @@ -192,7 +190,6 @@ function enableFutureResults(msg) {
}

function disableResultButtons(msg) {
resultSimNote.innerText = "Berechnung läuft ...";
futureDropdown.selectedIndex = 0;
const options = futureDropdown.querySelectorAll("option");
for (const option of options) {
Expand Down
1 change: 0 additions & 1 deletion digiplan/templates/components/panel_5_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ <h2 class="panel-item__heading panel-item__heading--nopadding">
</select>
<img src="{% static 'images/icons/i_info.svg' %}" alt="Info Icon" class="i-icon" data-bs-toggle="tooltip" data-bs-placement="right" id="info_tooltip_results" tabindex="0" title="{% translate "Keine Auswahl" %}">
</div>
<div id="result_simnote" class="panel__simnote"></div>
<div class="panel-item">
<div class="panel-item__padding">
<div id="region_chart_2045" class="panel-item__chart" aria-live="polite"></div>
Expand Down

0 comments on commit e773136

Please sign in to comment.