Skip to content

Commit 5654a0a

Browse files
committed
Wrong location for const error.
1 parent a9b48f6 commit 5654a0a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kirki-packages/control-generic/dist/control.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

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

77
control.container.find("input, textarea").on("change input", function () {
8-
const value = jQuery(this).val();
8+
let value = jQuery(this).val();
99

1010
if (
1111
"kirki-generic" === params.type &&

0 commit comments

Comments
 (0)