Commit d741590f2a7c0c901ffcbac0294a4a802688aaee
add compose route
Ev Bogue committed on 5/25/2018, 7:07:14 PMParent: cbb08a8e0b43cb3717631113900dd7706523d68a
Files changed
views.js | changed |
views.js | ||
---|---|---|
@@ -68,8 +68,19 @@ | ||
68 | 68 | ) |
69 | 69 | }) |
70 | 70 | }) |
71 | 71 | } |
72 | + | |
73 | + else if (src == 'compose') { | |
74 | + var screen = document.getElementById('screen') | |
75 | + | |
76 | + var opts = {} | |
77 | + opts.type = 'post' | |
78 | + | |
79 | + var content = h('div.content', h('div.message', compose(opts))) | |
80 | + | |
81 | + screen.appendChild(hyperscroll(content)) | |
82 | + } | |
72 | 83 | else if (src == 'about') { |
73 | 84 | |
74 | 85 | var screen = document.getElementById('screen') |
75 | 86 |
Built with git-ssb-web