aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--themes/_global/js/keyboard.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/themes/_global/js/keyboard.js b/themes/_global/js/keyboard.js
index 969a0d6e..4469248d 100644
--- a/themes/_global/js/keyboard.js
+++ b/themes/_global/js/keyboard.js
@@ -88,7 +88,6 @@ function markReadArticle(id) {
88 88
89function homeNavigation() { 89function homeNavigation() {
90 selectedArticle = $('.entrie:first'); 90 selectedArticle = $('.entrie:first');
91 console.log("selected first article");
92 window.addEventListener("keydown", function (event) { 91 window.addEventListener("keydown", function (event) {
93 var key = event.which || event.keyCode; // event.keyCode is used for IE8 and earlier versions 92 var key = event.which || event.keyCode; // event.keyCode is used for IE8 and earlier versions
94 switch (key) { 93 switch (key) {
@@ -130,8 +129,6 @@ function goSelectNext(selectedArticle,number) {
130 selectedArticle.removeClass("eselected"); 129 selectedArticle.removeClass("eselected");
131 selectedArticle = selectedArticle.next(); 130 selectedArticle = selectedArticle.next();
132 selectedArticle.addClass("eselected"); 131 selectedArticle.addClass("eselected");
133 console.log("Changed selected to next");
134 console.log("selectedArticle is now " + selectedArticle.attr("id"));
135 } 132 }
136 return selectedArticle; 133 return selectedArticle;
137} 134}
@@ -142,9 +139,6 @@ function goSelectPrev(selectedArticle,number) {
142 selectedArticle.removeClass("eselected"); 139 selectedArticle.removeClass("eselected");
143 selectedArticle = selectedArticle.prev(); 140 selectedArticle = selectedArticle.prev();
144 selectedArticle.addClass("eselected"); 141 selectedArticle.addClass("eselected");
145 console.log("Changed selected to previous");
146 console.log("selectedArticle is now " + selectedArticle.attr("id"));
147
148 } 142 }
149 return selectedArticle; 143 return selectedArticle;
150} 144}