Skip to content

Commit 7b7315d

Browse files
committed
Remove trailing whitespace
1 parent 8cc0f5f commit 7b7315d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/_static/js/whatsnew_links.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
const links = Array.from(document.getElementsByTagName("a"));
1212
links.forEach((link) => {
1313
const re = /(whatsnew.html)#(whatsnew)-[\d]+(-\w+)+/g;
14-
let linkElements = link.href.split("/");
14+
let linkElements = link.href.split("/");
1515
if (re.test(linkElements.slice(-1)[0])) {
1616
let whatsNew = linkElements.slice(-1)[0].split("#");
1717
whatsNew = generateWhatsNew(whatsNew);
1818
linkElements[linkElements.length - 1] = whatsNew;
19-
link.href = linkElements.join("/")
19+
link.href = linkElements.join("/");
2020
}
2121
});
2222
})();

0 commit comments

Comments
 (0)