Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fordecyt_2019
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rodrigo Tapia-McClung
fordecyt_2019
Commits
8ce216ea
Commit
8ce216ea
authored
Mar 04, 2021
by
Rodrigo Tapia-McClung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix hanging js scripts with async false
parent
9ca57345
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
index.html
public/centropais/index.html
+6
-0
No files found.
public/centropais/index.html
View file @
8ce216ea
...
...
@@ -192,10 +192,13 @@
let
script2
=
document
.
createElement
(
'script'
);
let
script3
=
document
.
createElement
(
'script'
);
script1
.
src
=
"../js/centropais_functions.js"
;
script1
.
async
=
false
;
body
.
appendChild
(
script1
);
script2
.
src
=
"../js/centropais_basemap.js"
;
script2
.
async
=
false
;
body
.
appendChild
(
script2
);
script3
.
src
=
"../js/centropais_charts.js"
;
script3
.
async
=
false
;
body
.
appendChild
(
script3
);
});
...
...
@@ -204,7 +207,9 @@
let
script1
=
document
.
createElement
(
'script'
);
let
script2
=
document
.
createElement
(
'script'
);
script1
.
src
=
"../js/evolucion_urbana.js"
;
script1
.
async
=
false
;
script2
.
src
=
"../js/evolucion_urbana_charts.js"
;
script2
.
async
=
false
;
body
.
appendChild
(
script1
);
body
.
appendChild
(
script2
);
});
...
...
@@ -213,6 +218,7 @@
let
body
=
document
.
getElementsByTagName
(
'body'
)[
0
];
let
script
=
document
.
createElement
(
'script'
);
script
.
src
=
"../js/centropais_periurbano.js"
;
script
.
async
=
false
;
body
.
appendChild
(
script
);
});
</script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment