Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit facfb02

Browse files
committed
Fixes #204
1 parent 2825410 commit facfb02

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/app.js

+4
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ function ajaxifySite() {
175175
$(document).ready(function() {
176176
initPage();
177177

178+
// Insure add current page to history so back button has an URL for popstate.
179+
history.pushState({url: document.location.href}, document.title,
180+
document.location.href);
181+
178182
document.querySelector('[data-twitter-follow]').addEventListener('click', function(e) {
179183
e.preventDefault();
180184
var target = e.target.localName != 'a' ? e.target.parentElement : e.target;

0 commit comments

Comments
 (0)