Reincorporate a line of code I missed
This commit is contained in:
parent
5d73cbf240
commit
d1bc80282f
|
@ -172,7 +172,7 @@ function initPopup() {
|
||||||
$('label', info).textContent = t('unreachableAMO');
|
$('label', info).textContent = t('unreachableAMO');
|
||||||
const note = (FIREFOX < 59 ? t('unreachableAMOHintOldFF') : t('unreachableAMOHint')) +
|
const note = (FIREFOX < 59 ? t('unreachableAMOHintOldFF') : t('unreachableAMOHint')) +
|
||||||
(FIREFOX < 60 ? '' : '\n' + t('unreachableAMOHintNewFF'));
|
(FIREFOX < 60 ? '' : '\n' + t('unreachableAMOHintNewFF'));
|
||||||
const renderToken = s => s[0] === '<' ? $create('b', s.slice(1, -1)) : s;
|
const renderToken = s => s[0] === '<' ? $create('b', tWordBreak(s.slice(1, -1))) : s;
|
||||||
const renderLine = line => $create('p', line.split(/(<.*?>)/).map(renderToken));
|
const renderLine = line => $create('p', line.split(/(<.*?>)/).map(renderToken));
|
||||||
const noteNode = $create('fragment', note.split('\n').map(renderLine));
|
const noteNode = $create('fragment', note.split('\n').map(renderLine));
|
||||||
const target = $('p', info);
|
const target = $('p', info);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user