aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/views.js b/views.js
index edb27dd..56a9735 100644
--- a/views.js
+++ b/views.js
@@ -48,8 +48,16 @@ function profilePage (src, keys) {
}
}, ['Identify ' + src.substring(0, 10) + '...'])
+ var mentionsButton = h('button', {
+ onclick: function () {
+ location.href = '#?' + src
+ }
+ }, ['Mentions'])
+
profile.appendChild(identifyButton)
+ profile.appendChild(mentionsButton)
+
localforage.getItem('subscriptions').then(function (subs) {
if (subs.includes(src)) {
profile.appendChild(h('button', {