From 7f606183e3eda1ffe841220fbb2fa9f25b8d23d2 Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Fri, 5 Dec 2014 16:16:12 -0800 Subject: [PATCH] Make back button work when switching from basic to full via dropdown --- docs/client/layout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/client/layout.js b/docs/client/layout.js index 609dfdfa17..a95faeb259 100644 --- a/docs/client/layout.js +++ b/docs/client/layout.js @@ -5,7 +5,7 @@ Template.registerHelper("layoutHidden", function (type) { Template.basicOrFullSelect.events({ "change .basic-or-full": function (event) { // XXX might not work in IE9? - navigate("#/" + event.target.value + "/"); + window.location.hash = "#/" + event.target.value + "/"; } });