diff options
Diffstat (limited to 'StoneIsland/www/js/lib/products')
| -rwxr-xr-x | StoneIsland/www/js/lib/products/ClosedStoreView.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/StoneIsland/www/js/lib/products/ClosedStoreView.js b/StoneIsland/www/js/lib/products/ClosedStoreView.js index 84496822..2f242ba4 100755 --- a/StoneIsland/www/js/lib/products/ClosedStoreView.js +++ b/StoneIsland/www/js/lib/products/ClosedStoreView.js @@ -22,12 +22,12 @@ var ClosedStoreView = View.extend({ document.body.className = "closed" this.animate() app.footer.hide() - if (this.storeOpenDate) { - var date = this.storeOpenDate - $(".closed_store_msg h3").html("THIS STORE WILL OPEN ON " + date) + $(".closed_store_msg h3").html(app.closed.storeClosedMessageOne || "THIS STORE IS CURRENTLY CLOSED") + if (app.closed.storeClosedMessageTwo) { + $(".closed_store_msg h4").show().html(app.closed.storeClosedMessageTwo) } else { - $(".closed_store_msg h3").html("THIS STORE IS CURRENTLY CLOSED") + $(".closed_store_msg h4").hide() } }, |
