Skip to content

Commit 2f14ca3

Browse files
Fix the comment from Copilot
#544 (comment)
1 parent 231a083 commit 2f14ca3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

site/assets/js/pages/oss-licenses.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ $(
9292

9393
const tryNext = function (index) {
9494
if (index >= candidateUrls.length) {
95-
mdDestinationEl.html('<p>Could not load dependency report.</p>');
96-
// Mark as resolved to avoid re-firing all requests on the next click.
97-
clickedElement.attr(loadedAttr, 'error');
95+
mdDestinationEl.html('<p>Could not load dependency report. Click to retry.</p>');
96+
clickedElement.attr(loadedAttr, 'false');
9897
return;
9998
}
10099
$.get(candidateUrls[index], processLoadedContent)

0 commit comments

Comments
 (0)