Skip to content

Commit

Permalink
AO3-6636 Fixup speculation rules next-chapter prefetch (#4667)
Browse files Browse the repository at this point in the history
942f4a3 accidentally used the "eagerness" field, which is only supported in Chrome 121+. It isn't necessary in our case (the value we used, "eager", is already the default) so we can just remove it to fix prefetching in earlier versions of Chrome.
  • Loading branch information
domenic authored Nov 21, 2023
1 parent 942f4a3 commit 819c435
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/views/chapters/_chapter.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"prefetch": [
{
"source": "list",
"eagerness": "eager",
"urls": ["<%= work_chapter_path(@work, @next_chapter, anchor: "workskin") %>"]
}
]
Expand Down

0 comments on commit 819c435

Please sign in to comment.