Allow A/D shortcuts for browsing favgroups

This commit is contained in:
Toks
2015-06-25 10:29:59 -04:00
parent 04fa5596e2
commit c2530e9e53
3 changed files with 8 additions and 6 deletions

View File

@@ -148,7 +148,7 @@
location.href = href;
}
} else {
var href = $("#pool-nav a.active[rel=prev]").attr("href");
var href = $("#pool-nav a.active[rel=prev], #favgroup-nav a.active[rel=prev]").attr("href");
if (href) {
location.href = href;
}
@@ -160,7 +160,7 @@
var href = $("#search-seq-nav a[rel=next]").attr("href");
location.href = href;
} else {
var href = $("#pool-nav a.active[rel=next]").attr("href");
var href = $("#pool-nav a.active[rel=next], #favgroup-nav a.active[rel=next]").attr("href");
if (href) {
location.href = href;
}