Skip to content

Instantly share code, notes, and snippets.

@Pross
Created February 28, 2023 20:13
Show Gist options
  • Save Pross/f2bfa701327bf4ee60576daa3215083c to your computer and use it in GitHub Desktop.
Save Pross/f2bfa701327bf4ee60576daa3215083c to your computer and use it in GitHub Desktop.
Auto unselect unused modules
jQuery('.fl-settings-form-content label').each(function(){if(~jQuery(this).prop('innerText').indexOf("( Not used )")){jQuery(this).find('input').prop('checked',false)}});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment