Support » Plugin: Matador Jobs Lite » dropdown with category does not trigger event

  • Resolved olivier123


    I have
    [matador_categories as=select method=link]

    this displays the drop down, but nothing happens when I select a category.
    What am i ding wrong ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Bearne


    It looks like we have a bug in the JS

    we will fix it in the next release
    for now

    add this JS code to your theme or edit wp-content’plugins/matador-jobs/assets/scripts/matador.js and replace the block at line 12

    jQuery('.matador-terms-select select[data-method="link"], .matador-terms-select select[data-method="filter"]').each(function(){
    	    jQuery(this).on('change',function() {
    			window.location = jQuery(this).find('option:selected').data('url');
    • This reply was modified 8 months, 3 weeks ago by Paul Bearne.

    Thanks. It worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘dropdown with category does not trigger event’ is closed to new replies.