diff --git a/js/share_modal.js b/js/share_modal.js index 9adbce4b..c6bd2ce4 100644 --- a/js/share_modal.js +++ b/js/share_modal.js @@ -24,7 +24,7 @@ function generateShareLink() { let contact_email = document.getElementById("share_email").value; // Check values are provided - if (item_views && item_expires && item_note) { + if (item_views && item_expires) { // Send a GET request to ajax.php as ajax.php?share_generate_link=true.... jQuery.get( "ajax.php",