diff options
Diffstat (limited to 'themes/_global')
-rw-r--r-- | themes/_global/js/keyboard.js | 4 |
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 | ||
146 | function enterArticle(selectedArticle) { | 146 | function 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 |