run standalone too

This commit is contained in:
Neale Pickett 2017-05-26 02:10:21 +00:00
parent 1026764412
commit 4aaacb4263
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@ function setup() {
document.getElementById('num').addEventListener('change', regen); document.getElementById('num').addEventListener('change', regen);
document.getElementById('sym').addEventListener('change', regen); document.getElementById('sym').addEventListener('change', regen);
document.getElementById('len').addEventListener('input', regen); document.getElementById('len').addEventListener('input', regen);
document.getElementById('clipboard').textContent = chrome.i18n.getMessage("clipboard"); if (chrome.i18n) {
document.getElementById('clipboard').textContent = chrome.i18n.getMessage("clipboard");
}
regen(); regen();
} }