Make back button work when switching from basic to full via dropdown

This commit is contained in:
Sashko Stubailo
2014-12-05 16:16:12 -08:00
parent a6b6ae0a01
commit 7f606183e3

View File

@@ -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 + "/";
}
});