summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-07 16:02:34 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-07 16:02:34 +0100
commitce4f3fc83ce3effe5306566ec145874cbaecb2a9 (patch)
treefc0ca9a0837191840c62dbba2bbebc11071588b7 /js
parententer key at login (diff)
downloadbeziapp-ce4f3fc83ce3effe5306566ec145874cbaecb2a9.tar
beziapp-ce4f3fc83ce3effe5306566ec145874cbaecb2a9.tar.gz
beziapp-ce4f3fc83ce3effe5306566ec145874cbaecb2a9.tar.bz2
beziapp-ce4f3fc83ce3effe5306566ec145874cbaecb2a9.tar.lz
beziapp-ce4f3fc83ce3effe5306566ec145874cbaecb2a9.tar.xz
beziapp-ce4f3fc83ce3effe5306566ec145874cbaecb2a9.tar.zst
beziapp-ce4f3fc83ce3effe5306566ec145874cbaecb2a9.zip
Diffstat (limited to '')
-rw-r--r--js/login.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/js/login.js b/js/login.js
index f6c8c3f..a7ab25c 100644
--- a/js/login.js
+++ b/js/login.js
@@ -10,14 +10,6 @@ function setupEventListeners() {
$("#login-button").click(function () {
login();
});
- // če kliknemo enter, klikni gumb
- window.addEventListener("keyup", function(event) {
- // Number 13 is the "Enter" key on the keyboard
- if (event.keyCode === 13) {
- event.preventDefault();
- document.getElementById("login-button").click();
- }
- });
}
// Handle login button click
@@ -66,4 +58,4 @@ function login() {
}
})
-}
+} \ No newline at end of file