Skip to content

Commit 9062009

Browse files
gui fix
1 parent 9c9315f commit 9062009

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

docs/source/_static/pop-plankton.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,19 @@ var img = document.createElement("img");
2525

2626
current_path = document.location;
2727
if (document.location.origin == "null") { //local file
28+
29+
console.loc('local');
2830
if ((document.location.pathname.split('/')).includes("rst")) {
2931
img.src = "../_images/plankton-only.svg";
3032
}
3133
else {
32-
img.src = "../_images/plankton-only.svg";
34+
img.src = "./_images/plankton-only.svg";
3335
}
3436
}
3537
else {
38+
console.loc('remote');
3639
img.src=document.location.href.split('/').slice(0,5).join("/")+"_images/plankton-only.svg";
40+
console.log(img.src)
3741
// if ((document.location.pathname.split('/')).includes("rst")) {
3842
// img.src = "../../_images/plankton-only.svg";
3943
// }

test/HDCA-lung/demo.ipynb

Lines changed: 13 additions & 13 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)