fix: fontawesome missing font
This commit is contained in:
parent
abcde26ef4
commit
3bc4c76fc4
@ -7,6 +7,7 @@
|
||||
|
||||
<!-- Dependencies -->
|
||||
<script src="fontawesome/js/all.min.js"></script>
|
||||
<link rel="stylesheet" href="fontawesome/css/all.min.css">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400&display=swap" rel="stylesheet">
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
window.addEventListener('DOMContentLoaded', () => document.fonts.ready.then(() => {
|
||||
window.addEventListener('DOMContentLoaded', () => document.fonts.load('900 14px "Font Awesome 5 Free"').then(() => {
|
||||
const floorCanvas = document.getElementById('canvas-floor');
|
||||
const gridCanvas = document.getElementById('canvas-grid');
|
||||
const agentCanvas = document.getElementById('canvas-agent');
|
||||
|
Loading…
Reference in New Issue
Block a user