Skip to content

Commit 4aafa3f

Browse files
committed
Query param content_provider now contentProvider
1 parent 64b39a3 commit 4aafa3f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_static/link_gen/link.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function generateRegularUrl(hubUrl, urlPath, repoUrl, branch, compressed, conten
66

77
url.searchParams.set('repo', repoUrl);
88
if(compressed) {
9-
url.searchParams.set('content_provider', contentProvider);
9+
url.searchParams.set('contentProvider', contentProvider);
1010
}
1111
if (urlPath) {
1212
url.searchParams.set('urlpath', urlPath);
@@ -34,7 +34,7 @@ function generateCanvasUrl(hubUrl, urlPath, repoUrl, branch, compressed, content
3434

3535
nextUrlParams.append('repo', repoUrl);
3636
if(compressed) {
37-
nextUrlParams.append('content_provider', contentProvider);
37+
nextUrlParams.append('contentProvider', contentProvider);
3838
}
3939
if (urlPath) {
4040
nextUrlParams.append('urlpath', urlPath);
@@ -67,7 +67,7 @@ function generateBinderUrl(hubUrl, userName, envRepoName, envGitBranch, urlPath,
6767
nextUrlParams.append('repo', contentGitRepoUrl);
6868

6969
if(compressed) {
70-
nextUrlParams.append('content_provider', contentProvider);
70+
nextUrlParams.append('contentProvider', contentProvider);
7171
}
7272
if (urlPath) {
7373
nextUrlParams.append('urlpath', urlPath);

link.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h3 id="searchlabel">Quick search</h3>
130130
<!-- Source interaction buttons -->
131131

132132
<div class="dropdown-buttons-trigger">
133-
<button id="sourc-repo-dropdown-buttons-trigger" class="btn btn-secondary topbarbtn"
133+
<button id="source-repo-dropdown-buttons-trigger" class="btn btn-secondary topbarbtn"
134134
aria-label="Connect with source repository"><i class="fab fa-github"></i></button>
135135
<div class="dropdown-buttons sourcebuttons">
136136
<a class="repository-button"

0 commit comments

Comments
 (0)