From edeeac63686c4a783e8f3c023b86b775290814e5 Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Thu, 12 Jul 2018 08:43:25 +0530 Subject: [PATCH] Fix the content inside docs/home (#9458) - fix button inside `I am` section in docs/home - fix content inside `I want to` section in docs/home Signed-off-by: chandan kumar --- static/js/user-journeys/home.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/js/user-journeys/home.js b/static/js/user-journeys/home.js index 61d257420a..75b1275b3d 100644 --- a/static/js/user-journeys/home.js +++ b/static/js/user-journeys/home.js @@ -311,10 +311,15 @@ $( document ).ready(function() { } } + window.onpopstate = function() { + window.history.back(); + } + function main() { // Set up UI buildCards(); attachCardEvents(); + setupCardState(); } // What actually executes on page load