commit | 5814133ecd6b13e3559f74c51130906796cc8111 | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Tue Apr 07 16:18:45 2015 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Tue Apr 07 16:18:45 2015 +0000 |
tree | 36c0e3fb392ecf7828a62a6bf7d79374e9afea59 | |
parent | 5c5a747076049340737bc544786353af2f62fe12 [diff] [blame] |
Added tutorial and session mechanism
diff --git a/public/js/src/hint.js b/public/js/src/hint.js index 8011bee..80631ec 100644 --- a/public/js/src/hint.js +++ b/public/js/src/hint.js
@@ -52,7 +52,7 @@ // Update position of the mirror var that = this; - window.resize = function () { + window.onresize = function () { that.reposition(); }; @@ -311,6 +311,7 @@ var that = this; + // Add event listener for key pressed down inputFieldElement.addEventListener( "keypress", function (e) {