1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Removed inline handlers in chromium extension settings, fixes GH-38

This commit is contained in:
Krateng
2020-10-08 17:08:52 +02:00
parent 9f63504633
commit 54c3eb9cc0
4 changed files with 6 additions and 3 deletions

View File

@@ -12,6 +12,9 @@ document.addEventListener("DOMContentLoaded",function() {
document.getElementById("serverurl").addEventListener("focusout",checkServer);
document.getElementById("apikey").addEventListener("focusout",checkServer);
document.getElementById("serverurl").addEventListener("input",saveConfig);
document.getElementById("apikey").addEventListener("input",saveConfig);
chrome.runtime.onMessage.addListener(onInternalMessage);