Commit 3e3485dd605cf45a5f56a2864e4e437f7a9006c7
tweak external-link confirm wording + style
mix irving committed on 1/12/2017, 8:58:00 AMParent: c37f01bff040ba1ea95748935110553a28c61bfa
Files changed
modules_core/external-confirm.js | changed |
modules_core/external-confirm.js | |||
---|---|---|---|
@@ -21,16 +21,23 @@ | |||
21 | 21 … | okay.addEventListener('keydown', function (ev) { | |
22 | 22 … | if (ev.keyCode === 27) cancel.click() // escape | |
23 | 23 … | }) | |
24 | 24 … | ||
25 | - lb.show(h('div.column.message-confirm', | ||
26 | - h('div.message', | ||
27 | - h('div.title.row', | ||
28 | - h('div.message_meta.row', h('strong', 'warning: '), 'please confirm opening the following link in your OSes browser:') | ||
29 | - ), | ||
30 | - h('div.message_content', h('pre', href)) | ||
31 | - ), | ||
32 | - h('div.row.message-confirm__controls', okay, cancel) | ||
25 … | + lb.show(h('div.column', | ||
26 … | + h('div', [ | ||
27 … | + h('div.title.row', [ | ||
28 … | + h('strong.row', [ | ||
29 … | + 'Do you want to open this external link in your default browser:' | ||
30 … | + ]) | ||
31 … | + ]), | ||
32 … | + h('div', [ | ||
33 … | + h('pre', href) | ||
34 … | + ]) | ||
35 … | + ]), | ||
36 … | + h('div.row', [ | ||
37 … | + okay, | ||
38 … | + cancel | ||
39 … | + ]) | ||
33 | 40 … | )) | |
34 | 41 … | ||
35 | 42 … | okay.focus() | |
36 | 43 … | } |
Built with git-ssb-web