mirror of https://github.com/nealey/chrome-pwgen
run standalone too
This commit is contained in:
parent
1026764412
commit
4aaacb4263
|
@ -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);
|
||||||
|
if (chrome.i18n) {
|
||||||
document.getElementById('clipboard').textContent = chrome.i18n.getMessage("clipboard");
|
document.getElementById('clipboard').textContent = chrome.i18n.getMessage("clipboard");
|
||||||
|
}
|
||||||
regen();
|
regen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue