« get me outta code hell

use toHome nav shorthand in flash & news pages - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page/flash.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-03-05 20:40:49 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-03-05 20:40:49 -0400
commit82bd55a11af3990081bc289c6bfd2c2aa1dc9a3b (patch)
treec6beb0e1c094f995f9a5300b2a6fee4e5a5ca819 /src/page/flash.js
parente6978019a002e59db8dc312b9c2caa3c2ee9d9fe (diff)
use toHome nav shorthand in flash & news pages
Diffstat (limited to 'src/page/flash.js')
-rw-r--r--src/page/flash.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/page/flash.js b/src/page/flash.js
index 02b20c5..54653a0 100644
--- a/src/page/flash.js
+++ b/src/page/flash.js
@@ -162,10 +162,7 @@ function generateNavForFlash(flash, {
 
     return {
         links: [
-            {
-                path: ['localized.home'],
-                title: wikiInfo.shortName
-            },
+            {toHome: true},
             {
                 path: ['localized.flashIndex'],
                 title: strings('flashIndex.title')