Skip to content

Commit 87f3dc8

Browse files
committed
Fixes complaint about constant reassignment.
1 parent 76e5513 commit 87f3dc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kirki-packages/control-generic/src/control.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
wp.customize.controlConstructor["kirki-generic"] =
22
wp.customize.kirkiDynamicControl.extend({
3-
initKirkiControl: function (control) {
4-
control = control || this;
3+
initKirkiControl: function (_control) {
4+
const control = _control || this;
55
const params = control.params;
66

77
control.container.find("input, textarea").on("change input", function () {

0 commit comments

Comments
 (0)