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

  • Resolved olivier123

    (@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

    (@pbearne)

    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 3 months, 1 week ago by  Paul Bearne.

    Thanks. It worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.