diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-11-05 20:52:40 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-11-05 20:52:40 +0100 |
| commit | f7ac115cc2c43d08f61c0e5a16657fd732a0a520 (patch) | |
| tree | 08b1289094669d8b75f418ec46dacb0bdf0cc0d9 /StoneIsland/www/js/lib/products/ProductView.js | |
| parent | 60a306af8be5e06ac4c13419dd6b4189105f216e (diff) | |
API check
Diffstat (limited to 'StoneIsland/www/js/lib/products/ProductView.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/products/ProductView.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js index de29bf73..1c13a7c4 100755 --- a/StoneIsland/www/js/lib/products/ProductView.js +++ b/StoneIsland/www/js/lib/products/ProductView.js @@ -44,7 +44,7 @@ var ProductView = ScrollableView.extend({ if (this.not_available) { app.footer.show("SOLD OUT") } - else if (this.isNotAvailableInCanada) { + else if (this.isNotAvailable) { app.footer.show("NOT AVAILABLE") } else { @@ -185,10 +185,10 @@ var ProductView = ScrollableView.extend({ var notAvailableInCanada = !! app.store.notAvailableInCanada app.product.$notAvailableInCanada.toggle( notAvailableInCanada ) if (notAvailableInCanada && sim.data.countryCode === 'ca') { - this.isNotAvailableInCanada = true + this.isNotAvailable = true } else { - this.isNotAvailableInCanada = false + this.isNotAvailable = false } this.showFooter() |
