jQuery 3.x compatibility
This commit is contained in:
parent
c4cd7fddef
commit
059f67fd0c
@ -1,5 +1,5 @@
|
||||
jQuery( document ).ready( function( $ ) {
|
||||
$("#swpm-user-list").change( function() {
|
||||
jQuery( function( $ ) {
|
||||
$("#swpm-user-list").on( 'change', function() {
|
||||
$recipients = $("#swpm-recipient-emails");
|
||||
if ( $recipients.val() == '' ) {
|
||||
$recipients.val( $(this).find("option:selected").attr("value") );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user