Skip to content

Commit

Permalink
FIX: preset for CheckOutInput (jet-booking)
Browse files Browse the repository at this point in the history
  • Loading branch information
girafffee committed Jan 4, 2024
1 parent e3a3169 commit f23562f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion compatibility/jet-booking/assets/build/js/frontend.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,9 @@ function CheckOutInput() {
};

this.setValue = function () {
/**
* @see https://github.com/Crocoblock/jetformbuilder/issues/222
* @type {string[]}
*/
this.value.current = [];
this.value.current = this.value.applySanitizers(
this.nodes[ 0 ].value,
);
};

/**
Expand Down
1 change: 0 additions & 1 deletion includes/classes/builder-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ public static function is_enqueued_form_style( $form_id ): bool {
*
* @return string
* @since 3.1.0
*
*/
public static function attrs( array $attributes ): string {
return implode(
Expand Down

0 comments on commit f23562f

Please sign in to comment.