diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-19 21:06:26 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-19 21:06:26 -0500 |
| commit | 0f11af130f866622f5bd1c96cf71b704e113e360 (patch) | |
| tree | 021060be8fd55e77d47d3d6f9a10147a8cda566e /StoneIsland/www/js/lib/_router.js | |
| parent | ef5b4aaca99b811d0399f40d4ca79c642cf6bf31 (diff) | |
basic closed store view styling
Diffstat (limited to 'StoneIsland/www/js/lib/_router.js')
| -rw-r--r-- | StoneIsland/www/js/lib/_router.js | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
