go from classes to prototypes

This commit is contained in:
2020-01-27 16:56:16 +01:00
parent 9c862c48e1
commit cd69b63583
19 changed files with 1147 additions and 1114 deletions

View File

@@ -23,7 +23,7 @@ function uploadText() {
// Upload the file when ctrl + s is pressed
document.addEventListener("keydown", function(event) {
if (event.ctrlKey && (event.which === 83)) {
if (event.ctrlKey && (event.keyCode === 83)) {
event.preventDefault();
uploadText();
return false;