@jant/core 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jant/core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "A modern, open-source microblogging platform built on Cloudflare Workers",
5
5
  "type": "module",
6
6
  "bin": {
@@ -45,7 +45,7 @@ function renderMediaCard(
45
45
  <button
46
46
  type="button"
47
47
  class="block w-full aspect-square bg-muted rounded-lg overflow-hidden border hover:border-primary cursor-pointer"
48
- data-on-click="$$lightboxSrc = '${fullUrl}'; document.getElementById('lightbox').showModal()"
48
+ onclick="document.getElementById('lightbox-img').src = '${fullUrl}'; document.getElementById('lightbox').showModal()"
49
49
  >
50
50
  <img
51
51
  src="${thumbnailUrl}"