From 0f11af130f866622f5bd1c96cf71b704e113e360 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 19 Nov 2015 21:06:26 -0500 Subject: basic closed store view styling --- StoneIsland/www/js/lib/_router.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'StoneIsland/www/js/lib/_router.js') diff --git a/StoneIsland/www/js/lib/_router.js b/StoneIsland/www/js/lib/_router.js index c6f543a5..712d3db2 100644 --- a/StoneIsland/www/js/lib/_router.js +++ b/StoneIsland/www/js/lib/_router.js @@ -59,6 +59,9 @@ var SiteRouter = Router.extend({ default_view: function(name){ var fn = function(){ console.log(name) + if (app.view && app.view.hide) { + app.view.hide() + } if (name.match(/\./)) { var n = name.split(".") console.log(name, n) -- cgit v1.2.3-70-g09d2