git ssb

2+

ev / mvd



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 AM
Parent: 1872b93e291997f64ab36ed281ad128ca54d0f92

Files changed

views.jschanged
views.jsView
@@ -280,11 +280,15 @@
280280
281281 buttons.appendChild(writeMessage)
282282 buttons.appendChild(writePrivate)
283283 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 + }))
287291 }
288292
289293 var msgThread = function (src) {
290294

Built with git-ssb-web