diff --git a/static/foundation/js/vendor/foundation.js b/static/foundation/js/vendor/foundation.js index 109dd2d..2cbf380 100644 --- a/static/foundation/js/vendor/foundation.js +++ b/static/foundation/js/vendor/foundation.js @@ -319,7 +319,7 @@ copyBtn.addEventListener('click', function(event) { event.preventDefault(); // Prevent form submission var rowToDelete = event.target.closest('tr'); deleteCallback(rowToDelete); - } else if (event.target.tagName === 'BUTTON' && event.target.textContent === 'Copy') { + } else if (event.target.tagName === 'BUTTON' && event.target.textContent === 'Add to Authors') { event.preventDefault(); var rowToCopy = event.target.closest('tr'); copyCallback(rowToCopy);