git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 461fd4459a46469a272bb9fe6c369b1dd1c9323c

whoops, fix a typo in distance warnings

Matt McKegg committed on 10/18/2017, 12:15:27 AM
Parent: d3516ed7e732fa6234093e1b15a55b982a89c652

Files changed

modules/page/html/render/profile.jschanged
modules/profile/html/preview.jschanged
modules/page/html/render/profile.jsView
@@ -167,9 +167,9 @@
167167 }, [
168168 '⚠️ ', plural('This person is blocked by %s of your friends.', yourBlockingFriends.length)
169169 ])
170170 ])
171- } else if (value[0] > 2 || value[1] === undefined) {
171+ } else if (value[0] > 2 || value[0] === undefined) {
172172 return h('section -distanceWarning', [
173173 h('h1', i18n(`You don't follow anyone who follows this person`)),
174174 h('p', i18n('You might not be seeing their latest messages. You could try joining a pub that they are a member of.'))
175175 ])
modules/profile/html/preview.jsView
@@ -73,9 +73,9 @@
7373 }, [
7474 '⚠️ ', plural('This person is blocked by %s of your friends.', yourBlockingFriends.length)
7575 ])
7676 ])
77- } else if (value[0] > 2 || value[1] === undefined) {
77+ } else if (value[0] > 2 || value[0] === undefined) {
7878 return h('section -distanceWarning', [
7979 '⚠️ ', i18n(`You don't follow anyone who follows this person`)
8080 ])
8181 } else if (value[1] > 2 || value[1] === undefined) {

Built with git-ssb-web