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/products/ClosedStoreView.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'StoneIsland/www/js/lib/products') diff --git a/StoneIsland/www/js/lib/products/ClosedStoreView.js b/StoneIsland/www/js/lib/products/ClosedStoreView.js index 02e7b312..c4e929b3 100644 --- a/StoneIsland/www/js/lib/products/ClosedStoreView.js +++ b/StoneIsland/www/js/lib/products/ClosedStoreView.js @@ -1,4 +1,4 @@ -var ClosedStoreView = new View ({ +var ClosedStoreView = View.extend({ el: "#closed", @@ -16,7 +16,9 @@ var ClosedStoreView = new View ({ }, show: function(){ + document.body.className = "closed" this.animate() + app.footer.hide() }, hide: function(){ -- cgit v1.2.3-70-g09d2