Commit 4d85ac536daebe91e633293a07809820d79428ba
fix links on public sidebar
Matt McKegg committed on 2/15/2017, 12:17:10 PMParent: 1ffb6ae6e03b82a91ea233cbf81348587a086fe1
Files changed
modules/page/html/render/public.js | changed |
modules/page/html/render/public.js | |||
---|---|---|---|
@@ -117,9 +117,9 @@ | |||
117 | 117 … | }, [ | |
118 | 118 … | map(channels, (channel) => { | |
119 | 119 … | var subscribed = subscribedChannels.has(channel.id) | |
120 | 120 … | return h('a.channel', { | |
121 | - href: `##${channel.id}`, | ||
121 … | + href: `#${channel.id}`, | ||
122 | 122 … | classList: [ | |
123 | 123 … | when(subscribed, '-subscribed') | |
124 | 124 … | ] | |
125 | 125 … | }, [ | |
@@ -144,9 +144,9 @@ | |||
144 | 144 … | return h('a.profile', { | |
145 | 145 … | classList: [ | |
146 | 146 … | when(computed([connectedPeers, id], (p, id) => p.includes(id)), '-connected') | |
147 | 147 … | ], | |
148 | - href: `#${id}` | ||
148 … | + href: id | ||
149 | 149 … | }, [ | |
150 | 150 … | h('div.avatar', [api.about.html.image(id)]), | |
151 | 151 … | h('div.main', [ | |
152 | 152 … | h('div.name', [ api.about.obs.name(id) ]) | |
@@ -160,9 +160,9 @@ | |||
160 | 160 … | classList: 'ProfileList' | |
161 | 161 … | }, [ | |
162 | 162 … | map(whoToFollow, (id) => { | |
163 | 163 … | return h('a.profile', { | |
164 | - href: `#${id}` | ||
164 … | + href: id | ||
165 | 165 … | }, [ | |
166 | 166 … | h('div.avatar', [api.about.html.image(id)]), | |
167 | 167 … | h('div.main', [ | |
168 | 168 … | h('div.name', [ api.about.obs.name(id) ]) | |
@@ -177,9 +177,9 @@ | |||
177 | 177 … | }, [ | |
178 | 178 … | map(connectedPubs, (id) => { | |
179 | 179 … | return h('a.profile', { | |
180 | 180 … | classList: [ '-connected' ], | |
181 | - href: `#${id}` | ||
181 … | + href: id | ||
182 | 182 … | }, [ | |
183 | 183 … | h('div.avatar', [api.about.html.image(id)]), | |
184 | 184 … | h('div.main', [ | |
185 | 185 … | h('div.name', [ api.about.obs.name(id) ]) |
Built with git-ssb-web