diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-07-14 15:57:59 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-07-14 15:57:59 +0200 |
| commit | 6d71b12ed61d19f8b6f25dfe93c37dc57b528f91 (patch) | |
| tree | d24e8a79b2ac310c85bc8d1edb9378bcde88f541 /StoneIsland/www/js/lib/products/ProductView.js | |
| parent | dde692639f095c28f386d15595fb35ea1ca73ec2 (diff) | |
credit card view id. more aria labelling
Diffstat (limited to 'StoneIsland/www/js/lib/products/ProductView.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/products/ProductView.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js index 3bcf5ee4..c47dfddd 100755 --- a/StoneIsland/www/js/lib/products/ProductView.js +++ b/StoneIsland/www/js/lib/products/ProductView.js @@ -434,7 +434,9 @@ var ProductView = ScrollableView.extend({ }, share: function(){ - window.plugins.socialsharing.share( this.item['ModelNames'], null, null, "http://deeplink.me/www.stoneisland.com/store/" + this.code) + if (window.plugins && 'socialsharing' in window.plugins) { + window.plugins.socialsharing.share( this.item['ModelNames'], null, null, "http://deeplink.me/www.stoneisland.com/store/" + this.code) + } }, }) |
