We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1d3ed commit 8c04a0fCopy full SHA for 8c04a0f
docs/source/_static/pop-plankton.js
@@ -22,7 +22,12 @@ var hpos = 'right:-' + (50 + Math.floor(Math.random() * 10)) + 'px;';
22
var vpos = 'bottom:' + (Math.floor(Math.random() * 80) + 10) + '%;';
23
24
var img = document.createElement("img");
25
-img.src = document.location.pathname.split('/').slice(0,8).join("/")+"/_images/plankton-only.svg";//"../_images/plankton-only.svg";
+// var img_path = $.get("_images/plankton-only.svg)
26
+img.src = "_images/plankton-only.svg";//"../_images/plankton-only.svg";
27
+if (document.location.pathname.split('/')[8]=='rst'){
28
+ img.src = "../_images/plankton-only.svg";
29
+}
30
+
31
img.id = "pop-plankton";
32
img.onmouseenter = escape_mouse;
33
img.width = 100;
0 commit comments