Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions hugo/layouts/papers/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,13 @@
const url = baseurl + `&title=${encodeURIComponent(issue_title)}&assignee=${encodeURIComponent(who)}&labels=${encodeURIComponent(labels)}&data=` + encodeURIComponent(param_string);

// Display an error if the URL length string is too long
/*
// TODO: find actual cutoff length
if (url.length > 2000) {
alert(`The correction string URL is too long to submit (${url.length} chars). Please open a manual correction request at https://github.com/acl-org/acl-anthology/issues/new`);
return;
}
*/

window.open(url, "_blank");
}
Expand Down