git ssb

0+

ev / minbase



Move key into tabs, delete the emoji.

%3jgGSNb8wSmnx7EB3f11OSM8NQf78u7d6QlY9f6O7+U=.sha256
Closed gb wants to merge commits into master from tabmod
modules/tabs.jschanged
modules/tabs.jsView
@@ -15,9 +15,8 @@
1515 return el
1616 }
1717
1818 exports.needs = {
19- emoji_url: 'first',
2019 screen_view: 'first',
2120 search_box: 'first',
2221 blob_url: 'first',
2322 menu: 'first',
@@ -81,11 +80,8 @@
8180 tabs.insertBefore(h('div.header.left',
8281 h('div',
8382 h('a', {href: '#' + id}, img)
8483 ),
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- ),
8884 h('div.header__tabs', tabs.firstChild), //tabs
8985 h('div.header__search', h('div', search), api.menu())
9086 ), tabs.firstChild)
9187 // tabs.insertBefore(search, tabs.firstChild.nextSibling)
@@ -94,9 +90,9 @@
9490 // try { saved = JSON.parse(localStorage.openTabs) }
9591 // catch (_) { }
9692
9793 if(!saved || saved.length < 3)
98- saved = ['Public', 'Direct', 'Mentions']
94 + saved = ['Public', 'Direct', 'Mentions', 'Key']
9995
10096 saved.forEach(function (path) {
10197 var el = api.screen_view(path)
10298 if(!el) return

Built with git-ssb-web