aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-07-07 18:29:41 +0200
committerThomas Citharel <tcit@tcit.fr>2015-07-07 18:29:41 +0200
commit48a59f05a613631409818cf63bd31b9f431723fd (patch)
tree48a59f111ebdc1428243d35a358d54589f75316e /themes
parent105ef359b7e7f147f9684f1695f3d9d2b962b5e0 (diff)
downloadwallabag-48a59f05a613631409818cf63bd31b9f431723fd.tar.gz
wallabag-48a59f05a613631409818cf63bd31b9f431723fd.tar.zst
wallabag-48a59f05a613631409818cf63bd31b9f431723fd.zip
fix saving URL with enter key
Diffstat (limited to 'themes')
-rw-r--r--themes/_global/js/keyboard.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/_global/js/keyboard.js b/themes/_global/js/keyboard.js
index 4469248d..48f60a09 100644
--- a/themes/_global/js/keyboard.js
+++ b/themes/_global/js/keyboard.js
@@ -144,5 +144,7 @@ function goSelectPrev(selectedArticle,number) {
144} 144}
145 145
146function enterArticle(selectedArticle) { 146function enterArticle(selectedArticle) {
147 window.location = selectedArticle.find('a:first').attr('href'); 147 if (!$("#bagit").hasClass("current")) {
148 window.location = selectedArticle.find('a:first').attr('href');
149 }
148} \ No newline at end of file 150} \ No newline at end of file