Description
- P.when('A','ready').execute(function(A) {
- function setFeatureBulletsExpanderCollapsedHeight() {
- var $ = A.$;
- var PRODUCT_OVERVIEW_V2_FEATURE_MAX_HEIGHT = 540;
- var FEATUREBULLETS_TOP_MARGIN_OFFSET_CORRECTION = 12;
- var EXPANDER_HEADING_HEIGHT = 20;
- var expanderElement = $("#pov2FeatureBulletsExpander");
- if(expanderElement !== null) {
- var productOverviewFeatureElement = $('#productOverview_feature_div');
- var featureBulletsExpanderContent = $('#pov2FeatureBulletsExpanderContent');
- var featureBulletsExpanderHeading = $('#pov2FeatureBulletsExpanderHeading');
- var expanderContentHeight = featureBulletsExpanderContent.height();
- var productOverviewFeatureElementHeight = productOverviewFeatureElement !== null ? productOverviewFeatureElement.height() : 0;
- var expanderCollapsedHeight = Math.min(PRODUCT_OVERVIEW_V2_FEATURE_MAX_HEIGHT - productOverviewFeatureElementHeight - FEATUREBULLETS_TOP_MARGIN_OFFSET_CORRECTION, expanderContentHeight);
- if (expanderContentHeight === expanderCollapsedHeight) {
- featureBulletsExpanderContent.css("padding-bottom", "0px");
- }
- expanderCollapsedHeight = expanderCollapsedHeight < EXPANDER_HEADING_HEIGHT ? EXPANDER_HEADING_HEIGHT : expanderCollapsedHeight;
- expanderElement.attr("data-a-expander-collapsed-height", expanderCollapsedHeight);
- featureBulletsExpanderContent.css('display', '');
- featureBulletsExpanderHeading.css('display', '');
- }
- }
- function logFeatureBulletsPOv2ExpanderMetric(metric) {
- if (typeof window.ue !== 'undefined' && typeof metric !== 'undefined' && typeof window.ue.count !== 'undefined') {
- window.ue.count(metric, ((window.ue.count(metric) || 0) + 1));
- }
- }
- setFeatureBulletsExpanderCollapsedHeight();
- A.on('a:expander:pov2FeatureBulletsExpander:toggle:expand', function(data) {
- logFeatureBulletsPOv2ExpanderMetric('featureBulletsPOv2DesktopExpanderExpanded');
- });
- A.on('a:expander:pov2FeatureBulletsExpander:toggle:collapse', function(data) {
- logFeatureBulletsPOv2ExpanderMetric('featureBulletsPOv2DesktopExpanderCollapsed');
- });
- });
Lemax Village Collection Broken Flask Tavern #05647 The Caddington Village collection brings back the nostalgia of Christmas in 19th-century London. With its Victorian architecture, lovable characters, and inviting shops, this Dickensian village will help you relive the Christmases of years gone by. New for 2020! Made of Porcelain 6ft light bulb cord included Dimensions: 7.28in x 5.12in x 7.87in