Skip to content
This repository has been archived by the owner on Jul 28, 2018. It is now read-only.

Commit

Permalink
Add back the url attribute in pageCache
Browse files Browse the repository at this point in the history
  • Loading branch information
smidwap committed Jan 7, 2014
1 parent 58409a5 commit 80e8168
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/assets/javascripts/turbolinks.js.coffee
Expand Up @@ -64,6 +64,7 @@ fetchHistory = (cachedPage) ->

cacheCurrentPage = ->
pageCache[currentState.url] =
url: document.location.href,
body: document.body,
title: document.title,
positionY: window.pageYOffset,
Expand Down

0 comments on commit 80e8168

Please sign in to comment.