Static GitHub Issues

[1758] jQuery code stops working after navigating the routes without rebooting the page

prev: Modules added files - forces a recompile
next: Going 'back' from a nested child route triggers async data in the parent

I have jQuery code that is responsible for the select. The problem is that if I switch over routes, then this select does not work. How can I fix this?

$(function () {
        $('.select_list_radio').on('click', function(){
            var current = $(this).find('label span').text();
            $(this).parents('.select_list_wrapper').find('.select_list_current .select_list_current_item').text(current);
            $(this).parents('.select_list_wrapper').removeClass('open');
            $(this).parents('.select_list_wrapper').find('.select_list').css('display', 'block');
        });
    })
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1579">#c1579</a>)</em></sub></div>