Commit a3c2d0291e363d728b025f52bfc0e5edc54ee3de
add a follow count generator button, so follower lists don't slow down user pages by default
Ev Bogue committed on 7/10/2018, 12:27:14 AMParent: 1872b93e291997f64ab36ed281ad128ca54d0f92
Files changed
views.js | changed |
views.js | |||
---|---|---|---|
@@ -280,11 +280,15 @@ | |||
280 | 280 … | ||
281 | 281 … | buttons.appendChild(writeMessage) | |
282 | 282 … | buttons.appendChild(writePrivate) | |
283 | 283 … | buttons.appendChild(tools.follow(src)) | |
284 | - | ||
285 | - profile.firstChild.appendChild(tools.getFollowing(src)) | ||
286 | - profile.firstChild.appendChild(tools.getFollowers(src)) | ||
284 … | + | ||
285 … | + buttons.appendChild(h('button.btn', 'Generate follows', { | ||
286 … | + onclick: function () { | ||
287 … | + profile.firstChild.appendChild(tools.getFollowing(src)) | ||
288 … | + profile.firstChild.appendChild(tools.getFollowers(src)) | ||
289 … | + } | ||
290 … | + })) | ||
287 | 291 … | } | |
288 | 292 … | ||
289 | 293 … | var msgThread = function (src) { | |
290 | 294 … |
Built with git-ssb-web