Commit f816c9f8 authored by Rodrigo Tapia-McClung's avatar Rodrigo Tapia-McClung

minor cleanup

parent fbd19b59
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
<script> <script>
$("#showFlows").on("click", () => { $("#showFlows").on("click", () => {
["../js/centropais_functions.js", "../js/centropais_basemap.js", "../js/centropais_charts.js"].forEach( src =>{ ["../js/centropais_functions.js", "../js/centropais_basemap.js", "../js/centropais_charts.js"].forEach( src =>{
let script = document.createElement('script'); let script = document.createElement("script");
script.src = src; script.src = src;
script.async = false; script.async = false;
document.body.appendChild(script); document.body.appendChild(script);
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
$("#showUrban").on("click", () => { $("#showUrban").on("click", () => {
["../js/evolucion_urbana.js", "../js/evolucion_urbana_charts.js"].forEach( src =>{ ["../js/evolucion_urbana.js", "../js/evolucion_urbana_charts.js"].forEach( src =>{
let script = document.createElement('script'); let script = document.createElement("script");
script.src = src; script.src = src;
script.async = false; script.async = false;
document.body.appendChild(script); document.body.appendChild(script);
...@@ -212,9 +212,8 @@ ...@@ -212,9 +212,8 @@
$("#showPeriurban").on("click", () => { $("#showPeriurban").on("click", () => {
["../js/centropais_periurbano.js", "../js/centropais_periurbano_charts.js"].forEach( src =>{ ["../js/centropais_periurbano.js", "../js/centropais_periurbano_charts.js"].forEach( src =>{
let script = document.createElement('script'); let script = document.createElement("script");
//let script = document.createElement('script'); script.src = src;
script.src = src;//"../js/centropais_periurbano.js";
script.async = false; script.async = false;
document.body.appendChild(script); document.body.appendChild(script);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment