aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-06-20 11:12:48 +0200
committerThomas Citharel <tcit@tcit.fr>2015-06-20 11:12:48 +0200
commit9786dbf165737a696628fccc4d7998d4af677240 (patch)
tree556f3637cc26d0997dc85722bfc36077e13012a6
parenta85171062add809a2b12c52de91f554ea79a8711 (diff)
downloadwallabag-9786dbf165737a696628fccc4d7998d4af677240.tar.gz
wallabag-9786dbf165737a696628fccc4d7998d4af677240.tar.zst
wallabag-9786dbf165737a696628fccc4d7998d4af677240.zip
deleted the js console logs calls
-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}