From 5ffc80705fb2d4bd3fb362797b16fae204cb66af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Santisi?= Date: Tue, 7 May 2024 18:00:39 +0000 Subject: [PATCH] =?UTF-8?q?Exclamaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index c5c5f7b..dc03fa4 100644 --- a/js/main.js +++ b/js/main.js @@ -139,7 +139,7 @@ class WindSimulation { var i = this.wms.indexOf(wm); var follower = document.getElementById("follower"); var perc = Math.round(this.simulationPot[i] * 100 / 14.95); - follower.innerHTML = "

Aerogenerador Nº" + (i + 1) + "

" + (Math.round(this.simulationPot[i] * 100) / 100) + ' GWh
' + this.divPercentBar(perc, 50) + '
' + perc + '% ' + (perc < 50 ? '⚠️' : ''); + follower.innerHTML = "

Aerogenerador Nº" + (i + 1) + "

" + (Math.round(this.simulationPot[i] * 100) / 100) + ' GWh
' + this.divPercentBar(perc, 50) + '
' + perc + '% ' + (perc < 50 ? EXCLAMATION : ''); follower.style.display = "block"; } }