Skip to content

Commit 0a2a61a

Browse files
committed
Fix static tests
1 parent 4a8d578 commit 0a2a61a

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

app/code/Magento/PageCache/view/frontend/web/js/page-cache.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ define([
3636
* @returns {Array}
3737
*/
3838
$.fn.comments = function () {
39-
var elements = [];
39+
var elements = [],
40+
contents,
41+
elementContents;
4042

4143
/**
4244
* @param {jQuery} element - Comment holder
@@ -55,7 +57,7 @@ define([
5557
}
5658

5759
// rewrite jQuery contents()
58-
var contents = function (element) {
60+
contents = function (element) {
5961
return $.map(element, function (elem) {
6062
try {
6163
return $.nodeName(elem, "iframe") ?
@@ -68,7 +70,7 @@ define([
6870
});
6971
};
7072

71-
var elementContents = contents($(element));
73+
elementContents = contents($(element));
7274

7375
$.each(elementContents, function (index, el) {
7476
switch (el.nodeType) {

app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/_minicart.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
@_toggle-selector: ~'.action.showcart',
108108
@_options-selector: ~'.block-minicart',
109109
@_dropdown-list-width: 320px,
110-
@_dropdown-list-position-right: 0px,
110+
@_dropdown-list-position-right: 0,
111111
@_dropdown-list-pointer-position: right,
112112
@_dropdown-list-pointer-position-left-right: 26px,
113113
@_dropdown-list-z-index: 101,

app/design/frontend/Magento/blank/Magento_MultipleWishlist/web/css/source/_module.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,16 +389,16 @@
389389
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
390390
.wishlist {
391391
&.window.popup {
392+
.field {
393+
.lib-form-field-type-revert(@_type: block);
394+
}
395+
392396
bottom: auto;
393397
.lib-css(top, @desktop-popup-position-top);
394398
.lib-css(left, @desktop-popup-position-left);
395399
.lib-css(margin-left, @desktop-popup-margin-left);
396400
.lib-css(width, @desktop-popup-width);
397401
right: auto;
398-
399-
.field {
400-
.lib-form-field-type-revert(@_type: block);
401-
}
402402
}
403403
}
404404

app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_minicart.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
@_toggle-selector: ~'.action.showcart',
111111
@_options-selector: ~'.block-minicart',
112112
@_dropdown-list-width: 320px,
113-
@_dropdown-list-position-right: 0px,
113+
@_dropdown-list-position-right: 0,
114114
@_dropdown-list-pointer-position: right,
115115
@_dropdown-list-pointer-position-left-right: 26px,
116116
@_dropdown-list-z-index: 101,

0 commit comments

Comments
 (0)