Commit 5b08fed359b3d156bdeab7bd22870464aa987130
Add help text to buttons
Anders Rune Jensen committed on 4/23/2019, 9:45:15 PMParent: 363336fe298e60c3fb2e3cf0f418c70da4dc9c0f
Files changed
message/html/compose.js | changed |
message/html/compose.js | |||
---|---|---|---|
@@ -125,9 +125,9 @@ | |||
125 | 125 … | ||
126 | 126 … | var fileInput = h('input', { | |
127 | 127 … | type: 'file', | |
128 | 128 … | // accept, | |
129 | - attributes: { multiple: true }, | ||
129 … | + attributes: { multiple: true, title: 'Add files as blobs' }, | ||
130 | 130 … | 'ev-click': () => hasContent.set(true), | |
131 | 131 … | 'ev-change': (ev) => { | |
132 | 132 … | warningMessages.set([]) | |
133 | 133 … | ||
@@ -160,8 +160,9 @@ | |||
160 | 160 … | } | |
161 | 161 … | ||
162 | 162 … | var datInput = h('input.dat', { | |
163 | 163 … | type: 'file', | |
164 … | + attributes: { title: 'Add file as dat link' }, | ||
164 | 165 … | 'ev-click': () => hasContent.set(true), | |
165 | 166 … | 'ev-change': (ev) => { | |
166 | 167 … | const file = ev.target.files[0] | |
167 | 168 … | datSharedFiles.shareFile(file.path, (datLink) => { |
Built with git-ssb-web