Commit 461fd4459a46469a272bb9fe6c369b1dd1c9323c
whoops, fix a typo in distance warnings
Matt McKegg committed on 10/18/2017, 12:15:27 AMParent: d3516ed7e732fa6234093e1b15a55b982a89c652
Files changed
modules/page/html/render/profile.js | changed |
modules/profile/html/preview.js | changed |
modules/page/html/render/profile.js | ||
---|---|---|
@@ -167,9 +167,9 @@ | ||
167 | 167 | }, [ |
168 | 168 | '⚠️ ', plural('This person is blocked by %s of your friends.', yourBlockingFriends.length) |
169 | 169 | ]) |
170 | 170 | ]) |
171 | - } else if (value[0] > 2 || value[1] === undefined) { | |
171 | + } else if (value[0] > 2 || value[0] === undefined) { | |
172 | 172 | return h('section -distanceWarning', [ |
173 | 173 | h('h1', i18n(`You don't follow anyone who follows this person`)), |
174 | 174 | h('p', i18n('You might not be seeing their latest messages. You could try joining a pub that they are a member of.')) |
175 | 175 | ]) |
modules/profile/html/preview.js | ||
---|---|---|
@@ -73,9 +73,9 @@ | ||
73 | 73 | }, [ |
74 | 74 | '⚠️ ', plural('This person is blocked by %s of your friends.', yourBlockingFriends.length) |
75 | 75 | ]) |
76 | 76 | ]) |
77 | - } else if (value[0] > 2 || value[1] === undefined) { | |
77 | + } else if (value[0] > 2 || value[0] === undefined) { | |
78 | 78 | return h('section -distanceWarning', [ |
79 | 79 | '⚠️ ', i18n(`You don't follow anyone who follows this person`) |
80 | 80 | ]) |
81 | 81 | } else if (value[1] > 2 || value[1] === undefined) { |
Built with git-ssb-web