aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEv Bogue <ev@evbogue.com>2019-07-29 14:06:56 -0500
committerEv Bogue <ev@evbogue.com>2019-07-29 14:06:56 -0500
commit3e89dfcac03bf5c402fe051233be5a77f04bc006 (patch)
treec9a7302c7affb9627eb98ab8a13966559b7d8585
parent4ed0cd068bda4dd2241eb932735396ffd5e30e81 (diff)
profile pages are faster with unboxed log
-rw-r--r--views.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/views.js b/views.js
index 56a9735..fc1293c 100644
--- a/views.js
+++ b/views.js
@@ -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) {