git ssb

3+

ev / decent



Commit 3e3f7d8a19eed40a31f1299dfe93be38b27ff638

make New Post a button

Ev Bogue committed on 1/3/2019, 5:32:37 PM
Parent: 5d055f341136089cb45b7c7feab86b90e8c04232

Files changed

index.jschanged
index.jsView
@@ -15,9 +15,9 @@
1515 var nav = h('div.navbar',
1616 h('div.internal',
1717 h('li', h('a', {href: '#' + id}, h('span.avatar--small', avatar.image(id)))),
1818 h('li', h('a', {href: '#' + id}, avatar.name(id))),
19- h('li', h('a', 'Post', {
19 + h('li', h('a', h('button', 'New Post', {
2020 onclick: function () {
2121 if (document.getElementById('composer')) { return }
2222 else {
2323 var currentScreen = document.getElementById('screen')
@@ -30,12 +30,12 @@
3030 currentScreen.firstChild.appendChild(composer)
3131 }
3232 }
3333 }
34- })),
34 + }))),
3535 h('li', h('a', {href: '#' }, 'All')),
3636 h('li', h('a', {href: '#wall/' + id }, 'Wall')),
37- h('li', h('a', {href: '#key' }, 'Key')),
37 + h('li', h('a', {href: '#key' }, 'Your Key')),
3838 h('li.right', h('a', {href: 'http://github.com/evbogue/decent'}, '?')),
3939 )
4040 )
4141

Built with git-ssb-web