mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-01 06:39:18 +00:00
fix saving URL with enter key
This commit is contained in:
parent
105ef359b7
commit
48a59f05a6
1 changed files with 3 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue