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