We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5c7e60 commit b5650cdCopy full SHA for b5650cd
2 files changed
src/main/resources/globe.css
@@ -1,3 +1,8 @@
1
+html,body,canvas{
2
+ height:100%;
3
+ width:100%;
4
+}
5
+
6
body{
7
background:black;
8
font-family:Arial,sans-serif;
src/main/resources/globe.js
@@ -1,7 +1,11 @@
const globe = Globe();
+var container = null;
window.addEventListener('load',function(){
- globe(document.getElementById('globe'));
+ container = document.getElementById('globe');
+ globe(container);
9
});
10
11
window.addEventListener('resize',function(event){
0 commit comments