git ssb

10+

Matt McKegg / patchwork



Commit 4d85ac536daebe91e633293a07809820d79428ba

fix links on public sidebar

Matt McKegg committed on 2/15/2017, 12:17:10 PM
Parent: 1ffb6ae6e03b82a91ea233cbf81348587a086fe1

Files changed

modules/page/html/render/public.jschanged
modules/page/html/render/public.jsView
@@ -117,9 +117,9 @@
117117 }, [
118118 map(channels, (channel) => {
119119 var subscribed = subscribedChannels.has(channel.id)
120120 return h('a.channel', {
121- href: `##${channel.id}`,
121 + href: `#${channel.id}`,
122122 classList: [
123123 when(subscribed, '-subscribed')
124124 ]
125125 }, [
@@ -144,9 +144,9 @@
144144 return h('a.profile', {
145145 classList: [
146146 when(computed([connectedPeers, id], (p, id) => p.includes(id)), '-connected')
147147 ],
148- href: `#${id}`
148 + href: id
149149 }, [
150150 h('div.avatar', [api.about.html.image(id)]),
151151 h('div.main', [
152152 h('div.name', [ api.about.obs.name(id) ])
@@ -160,9 +160,9 @@
160160 classList: 'ProfileList'
161161 }, [
162162 map(whoToFollow, (id) => {
163163 return h('a.profile', {
164- href: `#${id}`
164 + href: id
165165 }, [
166166 h('div.avatar', [api.about.html.image(id)]),
167167 h('div.main', [
168168 h('div.name', [ api.about.obs.name(id) ])
@@ -177,9 +177,9 @@
177177 }, [
178178 map(connectedPubs, (id) => {
179179 return h('a.profile', {
180180 classList: [ '-connected' ],
181- href: `#${id}`
181 + href: id
182182 }, [
183183 h('div.avatar', [api.about.html.image(id)]),
184184 h('div.main', [
185185 h('div.name', [ api.about.obs.name(id) ])

Built with git-ssb-web