git ssb

0+

ev / minbase



Commit d6745b1d69c58fc58e4b0758e25118240d90b48f

move key access to tabs

Gwen committed on 7/6/2017, 1:13:17 AM
Parent: bb3299ecd09a5c2bbffb33d40536307a561635a6

Files changed

modules/tabs.jschanged
modules/tabs.jsView
@@ -81,11 +81,8 @@
8181 tabs.insertBefore(h('div.header.left',
8282 h('div',
8383 h('a', {href: '#' + id}, img)
8484 ),
85- h('p.edit',
86- h('a', {innerHTML: '<a href="#'+ id +'">Edit your profile</a> <a href="#Key"><img src="' + api.emoji_url('key') + '" class="emoji" /></a>'})
87- ),
8885 h('div.header__tabs', tabs.firstChild), //tabs
8986 h('div.header__search', h('div', search), api.menu())
9087 ), tabs.firstChild)
9188 // tabs.insertBefore(search, tabs.firstChild.nextSibling)
@@ -94,9 +91,9 @@
9491 // try { saved = JSON.parse(localStorage.openTabs) }
9592 // catch (_) { }
9693
9794 if(!saved || saved.length < 3)
98- saved = ['Public', 'Direct', 'Mentions']
95 + saved = ['Public', 'Direct', 'Mentions', 'Key']
9996
10097 saved.forEach(function (path) {
10198 var el = api.screen_view(path)
10299 if(!el) return

Built with git-ssb-web