Skip to content

Commit

Permalink
Query param content_provider now contentProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-morris committed Dec 1, 2021
1 parent 64b39a3 commit 4aafa3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _static/link_gen/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function generateRegularUrl(hubUrl, urlPath, repoUrl, branch, compressed, conten

url.searchParams.set('repo', repoUrl);
if(compressed) {
url.searchParams.set('content_provider', contentProvider);
url.searchParams.set('contentProvider', contentProvider);
}
if (urlPath) {
url.searchParams.set('urlpath', urlPath);
Expand Down Expand Up @@ -34,7 +34,7 @@ function generateCanvasUrl(hubUrl, urlPath, repoUrl, branch, compressed, content

nextUrlParams.append('repo', repoUrl);
if(compressed) {
nextUrlParams.append('content_provider', contentProvider);
nextUrlParams.append('contentProvider', contentProvider);
}
if (urlPath) {
nextUrlParams.append('urlpath', urlPath);
Expand Down Expand Up @@ -67,7 +67,7 @@ function generateBinderUrl(hubUrl, userName, envRepoName, envGitBranch, urlPath,
nextUrlParams.append('repo', contentGitRepoUrl);

if(compressed) {
nextUrlParams.append('content_provider', contentProvider);
nextUrlParams.append('contentProvider', contentProvider);
}
if (urlPath) {
nextUrlParams.append('urlpath', urlPath);
Expand Down
2 changes: 1 addition & 1 deletion link.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h3 id="searchlabel">Quick search</h3>
<!-- Source interaction buttons -->

<div class="dropdown-buttons-trigger">
<button id="sourc-repo-dropdown-buttons-trigger" class="btn btn-secondary topbarbtn"
<button id="source-repo-dropdown-buttons-trigger" class="btn btn-secondary topbarbtn"
aria-label="Connect with source repository"><i class="fab fa-github"></i></button>
<div class="dropdown-buttons sourcebuttons">
<a class="repository-button"
Expand Down

0 comments on commit 4aafa3f

Please sign in to comment.