From dff986b88f6e1d22af6029b250f305bf91ed8a5b Mon Sep 17 00:00:00 2001 From: ohtani Date: Thu, 17 May 2018 09:57:10 +0900 Subject: [PATCH] fixed #14 : follow redirected url --- files/v3.1.0/instantclick.js | 1 + 1 file changed, 1 insertion(+) diff --git a/files/v3.1.0/instantclick.js b/files/v3.1.0/instantclick.js index 0787beb..8bdd02a 100644 --- a/files/v3.1.0/instantclick.js +++ b/files/v3.1.0/instantclick.js @@ -292,6 +292,7 @@ var InstantClick = function(document, location) { doc.documentElement.innerHTML = removeNoscriptTags($xhr.responseText) $title = doc.title $body = doc.body + $url = $xhr.responseURL var alteredOnReceive = triggerPageEvent('receive', $url, $body, $title) if (alteredOnReceive) {