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');
}
}