Commit 0c7c89c264ab3e6d244b7d654ef4b82d9aba00b8
enable private messages in lite client, switch command bar text
Ev Bogue committed on 11/6/2016, 8:01:43 PMParent: 2227f2f14f1094019ceb5e1cb1a8254841c2fe9e
Files changed
modules/private.js | changed |
modules/search-box.js | changed |
style.css | changed |
modules/private.js | ||
---|---|---|
@@ -27,10 +27,10 @@ | ||
27 | 27 … | |
28 | 28 … | exports.screen_view = function (path) { |
29 | 29 … | |
30 | 30 … | if(path === '/private') { |
31 | - if(process.title === 'browser') | |
32 | - return h('div', h('h4', 'Private messages are not supported in the lite client.')) | |
31 … | + //if(process.title === 'browser') | |
32 … | + //return h('div', h('h4', 'Private messages are not supported in the lite client.')) | |
33 | 33 … | |
34 | 34 … | |
35 | 35 … | var id = require('../keys').id |
36 | 36 … | var compose = message_compose( |
modules/search-box.js | |||
---|---|---|---|
@@ -23,9 +23,9 @@ | |||
23 | 23 … | ||
24 | 24 … | var suggestBox | |
25 | 25 … | var search = h('input.searchprompt', { | |
26 | 26 … | type: 'search', | |
27 | - placeholder: '?word, @key, #channel', | ||
27 … | + placeholder: 'Commands', | ||
28 | 28 … | onkeydown: function (ev) { | |
29 | 29 … | switch (ev.keyCode) { | |
30 | 30 … | case 13: // enter | |
31 | 31 … | if (suggestBox && suggestBox.active) { |
style.css | ||
---|---|---|
@@ -183,9 +183,9 @@ | ||
183 | 183 … | margin-top: .25em; |
184 | 184 … | margin-bottom: .25em; |
185 | 185 … | padding: .2em; |
186 | 186 … | border-top: 1px solid #f5f5f5; |
187 | - border-bottom: 1px solid #f5f5f5; | |
187 … | + // border-bottom: 1px solid #f5f5f5; | |
188 | 188 … | background: white; |
189 | 189 … | } |
190 | 190 … | |
191 | 191 … | .message:hover { |
Built with git-ssb-web