diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-12-24 07:04:29 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-12-24 07:04:29 +0100 |
commit | 0face97dc7b262986e206b5f3152e25a506f8326 (patch) | |
tree | d827ac7fa95291db28b0435df8a780244c26ff51 /public/gallery.js | |
parent | edf0ddb50cbf57cefc6b8f0d1984cd3269466789 (diff) | |
download | gallery-0face97dc7b262986e206b5f3152e25a506f8326.tar.gz gallery-0face97dc7b262986e206b5f3152e25a506f8326.tar.xz gallery-0face97dc7b262986e206b5f3152e25a506f8326.zip |
Fix the orphan view
Diffstat (limited to 'public/gallery.js')
-rw-r--r-- | public/gallery.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/gallery.js b/public/gallery.js index 5df58e6..f97a162 100644 --- a/public/gallery.js +++ b/public/gallery.js @@ -416,7 +416,7 @@ let OrphansModel = { } let OrphansReplacement = { - view(node) { + view(vnode) { const info = vnode.attrs.info if (!info) return [] @@ -431,7 +431,7 @@ let OrphansReplacement = { } let OrphansRow = { - view(node) { + view(vnode) { const info = vnode.attrs.info return m('.row', [ // It might not load, but still allow tag viewing. @@ -451,7 +451,7 @@ let OrphansList = { let children = (OrphansModel.entries.length == 0) ? "No orphans" : OrphansModel.entries.map(info => [ - m("h3", info.lastPath), + m("h2", info.lastPath), m(OrphansRow, {info}), ]) return m('.orphans[tabindex=0]', {}, children) |