From 76df508468975b9ffdd47373e5a406e21ac8cfdf Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 8 Jun 2018 01:17:29 +0200 Subject: mauh --- .../platforms/ios/www/js/lib/products/ProductView.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'StoneIsland/platforms/ios/www/js/lib') diff --git a/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js b/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js index 0ad58acc..3bcf5ee4 100755 --- a/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js +++ b/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js @@ -217,18 +217,19 @@ var ProductView = ScrollableView.extend({ else { this.$fitHeader.hide() } + this.$fit.show() + + if (app.store.SizingFooter === 'use_alt_text' && (app.store.SizingFooterText || "").length) { + var sizing_lines = app.store.SizingFooterText.replace(//g, "&rt;").split('\n').join("
") + this.$sizing.html(sizing_lines) + this.$sizing.show() + } else if (app.store.SizingFooter === 'true') { + this.$sizing.show() + } } else { this.$fitHeader.hide() this.$fit.hide() - } - - if (app.store.SizingFooter === 'use_alt_text' && (app.store.SizingFooterText || "").length) { - var sizing_lines = app.store.SizingFooterText.replace(//g, "&rt;").split('\n').join("
") - this.$sizing.html(sizing_lines) - this.$sizing.show() - } - else { this.$sizing.hide() } -- cgit v1.2.3-70-g09d2