Permalink
Browse files

Update follow-rel-prev.js

  • Loading branch information...
richardscarrott committed Oct 18, 2018
1 parent 33f74cf commit e158b5f1165d8c1d74285cccf288d4412580c813
Showing with 1 addition and 1 deletion.
  1. +1 −1 snippets/follow-rel-prev.js
@@ -3,7 +3,7 @@ function goTo(url) {
}
function goToPrev() {
const prevLink = $('link[rel=prev]');
const prevLink = document.querySelector('link[rel=prev]');
if (!prevLink) {
console.warn('Prev link not found');
return;

0 comments on commit e158b5f

Please sign in to comment.