Skip to content

Commit 680a2f6

Browse files
committed
Merge branch '2.1' of github.com:magento/magento2ce into sprint15_2.1
2 parents 57d5fe3 + 32b7a8f commit 680a2f6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Checkout/view/frontend/web/js/sidebar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ define([
246246
target = $(this.options.minicart.list),
247247
outerHeight;
248248

249+
self.scrollHeight = 0;
249250
target.children().each(function () {
250251

251252
if ($(this).find('.options').length > 0) {
@@ -259,7 +260,7 @@ define([
259260
self.scrollHeight += outerHeight;
260261
});
261262

262-
target.height(height);
263+
target.parent().height(height);
263264
}
264265
});
265266

dev/tests/functional/tests/app/Magento/Catalog/Test/TestStep/CreateProductsStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function __construct(FixtureFactory $fixtureFactory, $products, array $da
6060
public function run()
6161
{
6262
$products = [];
63-
$productsDataSets = explode(',', $this->products);
63+
$productsDataSets = is_array($this->products) ? $this->products : explode(',', $this->products);
6464
foreach ($productsDataSets as $key => $productDataSet) {
6565
$productDataSet = explode('::', $productDataSet);
6666
$fixtureClass = $productDataSet[0];

0 commit comments

Comments
 (0)