diff options
author | Ev Bogue <ev@evbogue.com> | 2019-07-29 14:06:56 -0500 |
---|---|---|
committer | Ev Bogue <ev@evbogue.com> | 2019-07-29 14:06:56 -0500 |
commit | 3e89dfcac03bf5c402fe051233be5a77f04bc006 (patch) | |
tree | c9a7302c7affb9627eb98ab8a13966559b7d8585 | |
parent | 4ed0cd068bda4dd2241eb932735396ffd5e30e81 (diff) |
profile pages are faster with unboxed log
-rw-r--r-- | views.js | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -91,8 +91,17 @@ function profilePage (src, keys) { } }, ['Delete feed'])) + bog().then(log => { + if (log) { + log.forEach(function (msg) { + if (msg.author === src) { + scroller.appendChild(render(msg, keys)) + } + }) + } + }) - bog(src).then(log => { + /*bog(src).then(log => { if (log) { log.forEach(function (msg) { open(msg).then(post => { @@ -100,7 +109,7 @@ function profilePage (src, keys) { }) }) } - }) + })*/ } function searchPage (src, keys) { |