Added error log output, remove magister animation.

master
Martijn Oosterhuis 4 years ago
parent 9e98c13d20
commit 4607c918d9

@ -1,5 +1,6 @@
const d = document.getElementById.bind(document); const d = document.getElementById.bind(document);
const q = document.querySelector.bind(document); const q = document.querySelector.bind(document);
document.querySelector('img[alt="Magister"]').remove(); // verwijderen van animatie linksboven
// user object moet gemaakt worden vanuit chrome.storage.sync // user object moet gemaakt worden vanuit chrome.storage.sync

@ -27,7 +27,7 @@ function save() {
try { try {
chrome.storage.sync.set({ chrome.storage.sync.set({
"school": school, "school": school,
"number": number, "number": number,
"password": password "password": password
}); });
@ -36,6 +36,7 @@ function save() {
} catch (e) { } catch (e) {
d("save").innerHTML = "Fout" d("save").innerHTML = "Fout"
d("save").className = "btn btn-danger float-right" d("save").className = "btn btn-danger float-right"
console.error(e);
} }
}; };

Loading…
Cancel
Save