Skip to content

Commit b6ca04a

Browse files
committed
keyword search: remove button
1 parent 0f53631 commit b6ca04a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

a11y-add-on-for-facetwp.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ function a11y_addon_transform_facet_markup( $output, $params ) {
103103
$id = $params['facet']['name'];
104104
$output = str_replace(
105105
'<input', '<div class="trec-facetwp-search-wrapper"><input id="' . esc_attr( $id ) . '"', $output );
106-
// facetwp-icon class is important to retain event handling
107-
$output = str_replace( '</span>', '<button class="facetwp-icon"><span class="ally-addon-search-submit-text">Submit</span></button></div></span>', $output );
106+
108107
// placeholders are bad for UX
109108
$output = str_replace( 'placeholder="Enter keywords"', '', $output );
110109
break;

0 commit comments

Comments
 (0)