Skip to content

Commit

Permalink
Fix link selector
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrieb committed Jan 9, 2023
1 parent 24bce28 commit ff2d4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add-latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* the Bloom filter was downloaded.
*/
function sendLatest() {
let stories = Array.from(document.querySelectorAll(".titlelink"));
let stories = Array.from(document.querySelectorAll(".titleline > a"));
let scoreParents = Array.from(document.querySelectorAll(".subtext"));
if (stories.length != scoreParents.length) {
console.error("Different number of story links and scores!");
Expand Down

0 comments on commit ff2d4b0

Please sign in to comment.