From 4568d0e428f53a508809d062b8cac792b5e56e1d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 1 Oct 2020 16:51:02 +0200 Subject: plist hook message --- StoneIsland/scripts/plist-hook.js | 6 +++--- StoneIsland/www/js/lib/products/Selector.js | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/StoneIsland/scripts/plist-hook.js b/StoneIsland/scripts/plist-hook.js index 232bba45..2b5cb82b 100644 --- a/StoneIsland/scripts/plist-hook.js +++ b/StoneIsland/scripts/plist-hook.js @@ -8,9 +8,9 @@ module.exports = function (context) { var xml = fs.readFileSync(FILEPATH, 'utf8'); var obj = plist.parse(xml); - obj.NSLocationWhenInUseUsageDescription = "Stone Island needs to serve content based on your location." - obj.NSLocationAlwaysAndWhenInUseUsageDescription = "Stone Island needs to serve content based on your location." - obj.NSLocationAlwaysUsageDescription = "Stone Island needs to serve content based on your location." + obj.NSLocationWhenInUseUsageDescription = "Stone Island needs your location to show you product drops, which are only available in select locations." + obj.NSLocationAlwaysAndWhenInUseUsageDescription = "Stone Island needs your location to show you product drops, which are only available in select locations." + obj.NSLocationAlwaysUsageDescription = "Stone Island needs your location to show you product drops, which are only available in select locations." obj.ITSAppUsesNonExemptEncryption = false xml = plist.build(obj); diff --git a/StoneIsland/www/js/lib/products/Selector.js b/StoneIsland/www/js/lib/products/Selector.js index ee680323..aed6fd9a 100755 --- a/StoneIsland/www/js/lib/products/Selector.js +++ b/StoneIsland/www/js/lib/products/Selector.js @@ -38,7 +38,6 @@ var Selector = View.extend({ var originWidth = $("." + origin).width() var selectorHeight = $('#selector').height() var originHeight = $("." + origin).height() - console.log(selectorHeight) if ((selectorHeight > 250) && (!$("#selector").hasClass("selector-full"))) { $("#selector").addClass("selector-outer-wrap") } -- cgit v1.2.3-70-g09d2