fix: minor noscript bug

This commit is contained in:
Cory Dransfeldt 2024-08-11 16:30:05 -07:00
parent 16f8f3579f
commit e33a961ba3
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "22.1.5", "version": "22.1.6",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "22.1.5", "version": "22.1.6",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.5.0", "@cdransf/api-text": "^1.5.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "22.1.5", "version": "22.1.6",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -1,6 +1,6 @@
<script type="module" src="/assets/scripts/components/api-text.js?v={% appVersion %}" crossorigin="anonymous"></script> <script type="module" src="/assets/scripts/components/api-text.js?v={% appVersion %}" crossorigin="anonymous"></script>
<api-text api-url="/api/now-playing"> <api-text api-url="/api/now-playing">
<p class="loading">🎧 Loading...</p> <p class="loading client-side">🎧 Loading...</p>
<p class="content"></p> <p class="content"></p>
<noscript> <noscript>
{%- assign track = music.recent | first -%} {%- assign track = music.recent | first -%}