Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _static/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,12 @@ if (new URLSearchParams(window.location.search).has('fps')) {
const canvas = document.getElementById('canvas');
const logo = document.getElementById('logo');
const themeToggle = document.getElementById('theme-toggle');
if (!canvas) return;
const gl = canvas.getContext('webgl');
if (!gl) {
document.body.classList.add('loaded');
return;
}

const LOGO_SVG_URL = '/static/earendil-logo.svg';

Expand Down