Skip to content

Commit

Permalink
fix hotwired#1241 - cache current page with frame updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tleish committed Jun 24, 2024
1 parent 00b73e3 commit 93d03f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/frames/frame_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export class FrameController {
frame.delegate.fetchResponseLoaded = async (fetchResponse) => {
if (frame.src) {
const { statusCode, redirected } = fetchResponse
const responseHTML = document.documentElement.outerHTML
const responseHTML = frame.ownerDocument.documentElement.outerHTML
const response = { statusCode, redirected, responseHTML }
const options = {
response,
Expand Down

0 comments on commit 93d03f8

Please sign in to comment.