summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen D'Ambrosio <ken@jots.org>2026-05-11 11:28:39 +0000
committerKen D'Ambrosio <ken@jots.org>2026-05-11 11:28:39 +0000
commit15fda4f8d6baa53eedf45d736383607eece02a63 (patch)
tree74abd5649212347764cbc34fd91a5e17932c5aef
parent35a72d21075c9d2331ee4388fe34fe6efd5b65fc (diff)
Always show filename in lightbox info panel
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--public/js/album.js2
-rw-r--r--views/album.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/public/js/album.js b/public/js/album.js
index 689edee..d83cb5f 100644
--- a/public/js/album.js
+++ b/public/js/album.js
@@ -36,7 +36,7 @@ function lbToggleInfo() {
function lbBuildInfo(e) {
const rows = [];
- if (e.name !== e.title) rows.push(['File', e.name]);
+ rows.push(['File', e.name]);
if (e.taken_at) {
const d = new Date(e.taken_at.replace(/[+-]\d{2}:\d{2}$|Z$/, ''));
rows.push(['Date', d.toLocaleString(undefined, { dateStyle: 'medium', timeStyle: 'short' })]);
diff --git a/views/album.erb b/views/album.erb
index b44971e..993b4d1 100644
--- a/views/album.erb
+++ b/views/album.erb
@@ -106,4 +106,4 @@ const ENTRIES = <%= @entries.map { |e|
e.merge(src: "/media/#{file_rel}")
}.to_json %>;
</script>
-<script src="/js/album.js?v=4"></script>
+<script src="/js/album.js?v=5"></script>