Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing keyboard navigation bug

  • Loading branch information...
commit e0c4204ddab663dd0abb1ac9b91f40e425638530 1 parent f9c7d3f
@jrmoran authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 site/javascripts/svc.script.js
View
4 site/javascripts/svc.script.js
@@ -193,8 +193,7 @@ $(document).ready(function() {
// check if the last link has the ?all identifier
var lastLink = links.last().attr('href');
- window.open(lastLink.match(/\?all/).length > 0 ?
- links[links.length-2] : lastLink);
+ window.open(lastLink.match(/\?all/) ? links[links.length-2] : lastLink);
return false;
}
@@ -202,7 +201,6 @@ $(document).ready(function() {
// otherwise open the first link
window.open(sEl.find('a:first').attr('href'));
-
});
// Unread - u

0 comments on commit e0c4204

Please sign in to comment.
Something went wrong with that request. Please try again.