From 819c435f5690a457ece0cbcb6b86dae197a1ba21 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Tue, 21 Nov 2023 12:29:58 +0900 Subject: [PATCH] AO3-6636 Fixup speculation rules next-chapter prefetch (#4667) 942f4a3bd2d66e9212d25b7b7d2ffec7dd710ded 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. --- app/views/chapters/_chapter.html.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/views/chapters/_chapter.html.erb b/app/views/chapters/_chapter.html.erb index 6ec4f7d6f48..5b1fb0df4f2 100644 --- a/app/views/chapters/_chapter.html.erb +++ b/app/views/chapters/_chapter.html.erb @@ -85,7 +85,6 @@ "prefetch": [ { "source": "list", - "eagerness": "eager", "urls": ["<%= work_chapter_path(@work, @next_chapter, anchor: "workskin") %>"] } ]