From a9f2dea859f3a17683e6ad4730a8c5d63f7ba652 Mon Sep 17 00:00:00 2001 From: artemave Date: Mon, 21 Apr 2014 23:07:54 +0100 Subject: [PATCH] Trigger 'push' event on `history.back()` --- js/push.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/push.js b/js/push.js index 6aa5398..f1fa8c2 100644 --- a/js/push.js +++ b/js/push.js @@ -191,7 +191,9 @@ swapContent( (activeObj.contents || activeDom).cloneNode(true), document.querySelector('.content'), - transition + transition, function() { + triggerStateChange(); + } ); PUSH.id = id;