Skip to content

Commit 9c02495

Browse files
committed
remove unused variable
1 parent bac4929 commit 9c02495

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/_static/javascripts/version_dropdown.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
function assign_href( a, url, path ) {
2-
const r = fetch( url + "/" + path );
3-
r.then( response => {
2+
fetch( url + "/" + path ).then( response => {
43
if( response.ok ){
54
a.href = url + "/" + path;
65
}

0 commit comments

Comments
 (0)