Skip to content

Commit

Permalink
Fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidajafarbigloo authored Oct 30, 2024
1 parent 77f394c commit 1d514c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/foundation/js/vendor/foundation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1d514c5

Please sign in to comment.