1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-27 17:28:39 +00:00

fix saving URL with enter key

This commit is contained in:
Thomas Citharel 2015-07-07 18:29:41 +02:00
parent 105ef359b7
commit 48a59f05a6

View file

@ -144,5 +144,7 @@ function goSelectPrev(selectedArticle,number) {
}
function enterArticle(selectedArticle) {
window.location = selectedArticle.find('a:first').attr('href');
if (!$("#bagit").hasClass("current")) {
window.location = selectedArticle.find('a:first').attr('href');
}
}