commit | b9cdb102b75c74b0304a2709ece875b42f5c7c2b | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Tue Apr 25 00:52:31 2017 +0200 |
committer | Akron <nils@diewald-online.de> | Thu Apr 27 20:11:25 2017 +0200 |
tree | 0c2586016cfaa202112df8e854e256593d4b4896 | |
parent | aa7f94273c12ce66ea5b640a9f1a7265da597a59 [diff] [blame] |
Toggle sidebar Change-Id: I2b1e804895830931226765424efae0d2af8aa541
diff --git a/dev/js/src/init.js b/dev/js/src/init.js index 294a3c9..6b4ad67 100644 --- a/dev/js/src/init.js +++ b/dev/js/src/init.js
@@ -141,6 +141,11 @@ }); }; + document.getElementsByTagName('aside')[0].addEventListener('focus', function() { + this.classList.add('active') + }); + + // Replace QL select menus with KorAP menus var qlField = document.getElementById('ql-field'); if (qlField !== null) {