Skip to content

Commit

Permalink
FIX: Selectric issue in job listing filters
Browse files Browse the repository at this point in the history
  • Loading branch information
nithinjohn22 committed Sep 25, 2024
1 parent 366f1ec commit b246a8d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions assets/js/public/job-listings.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,12 @@ jQuery(function($) {
if ('selectric' in awsmJobsPublic.vendors && awsmJobsPublic.vendors.selectric) {
$elem.selectric({
onInit: function(select, selectric) {
var id = select.id;
var $input = $(selectric.elements.input);
$(select).attr('id', 'selectric-' + id);
$input.attr('id', id);
var id = select.id;
if (selectric && selectric.elements && selectric.elements.input) {
var $input = $(selectric.elements.input);
$(select).attr('id', 'selectric-' + id);
$input.attr('id', id);
}
},
arrowButtonMarkup: '<span class="awsm-selectric-arrow-drop">&#x25be;</span>',
customClass: {
Expand Down
2 changes: 1 addition & 1 deletion assets/js/script.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/script.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wp-job-openings.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: AWSM innovations <[email protected]>\n"
"POT-Creation-Date: 2024-09-24 10:11+0000\n"
"POT-Creation-Date: 2024-09-25 09:47+0000\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
"X-Poedit-SearchPath-0: .\n"
Expand Down

0 comments on commit b246a8d

Please sign in to comment.