Skip to content

Commit 39d16db

Browse files
committed
Add comment
1 parent e21b169 commit 39d16db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/_static/javascripts/version_dropdown.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
async function href(url, path) {
1010
const defaultURL = url + "/index.html";
1111
url += "/" + path;
12+
13+
// If a versioned resource exists, return the resource's URL; otherwise, return a default URL:
1214
await fetch(url).then(onResponse).catch(onError);
1315

1416
/**

0 commit comments

Comments
 (0)