index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-16 23:11:05 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-16 23:11:05 -0700 |
commit | 9d4f58472d00558e809cd43642259ba109e25037 (patch) | |
tree | 7d7e9a63a1e722172f6145116d44397c3b74a5ff /src | |
parent | 021b8d3a9a25b751180781b000696841da83e0b1 (diff) |
WIP: Buildings
Diffstat (limited to 'src')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js index 3710843..b90c579 100644 --- a/src/index.js +++ b/src/index.js @@ -74,6 +74,7 @@ function load() { linkEl.setAttribute('rel', 'stylesheet'); linkEl.setAttribute('href', 'http://localhost:8080/assets/css/map.css'); linkEl.setAttribute('type', 'text/css'); + linkEl.onload = function (e) { console.log('map.css loaded'); @@ -86,6 +87,7 @@ function load() { scriptEl.setAttribute('href', 'http://localhost:8080/map.js'); } }; + svg.prepend(linkEl); this.style.opacity = 1; |