Skip to content

Commit b25aafc

Browse files
committed
fix static test for toolbar.js
1 parent 86a72f4 commit b25aafc

File tree

1 file changed

+20
-4
lines changed
  • app/code/Magento/Catalog/view/frontend/web/js/product/list

1 file changed

+20
-4
lines changed

app/code/Magento/Catalog/view/frontend/web/js/product/list/toolbar.js

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,26 @@ define([
3535

3636
/** @inheritdoc */
3737
_create: function () {
38-
this._bind($(this.options.modeControl, this.element), this.options.mode, this.options.modeDefault);
39-
this._bind($(this.options.directionControl, this.element), this.options.direction, this.options.directionDefault);
40-
this._bind($(this.options.orderControl, this.element), this.options.order, this.options.orderDefault);
41-
this._bind($(this.options.limitControl, this.element), this.options.limit, this.options.limitDefault);
38+
this._bind(
39+
$(this.options.modeControl, this.element),
40+
this.options.mode,
41+
this.options.modeDefault
42+
);
43+
this._bind(
44+
$(this.options.directionControl, this.element),
45+
this.options.direction,
46+
this.options.directionDefault
47+
);
48+
this._bind(
49+
$(this.options.orderControl, this.element),
50+
this.options.order,
51+
this.options.orderDefault
52+
);
53+
this._bind(
54+
$(this.options.limitControl, this.element),
55+
this.options.limit,
56+
this.options.limitDefault
57+
);
4258
},
4359

4460
/** @inheritdoc */

0 commit comments

Comments
 (0)