Skip to content

Commit 3df41c5

Browse files
committed
revert change to href logic
1 parent 7569cb1 commit 3df41c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_libs/nav/head.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ function createNavItem(item) {
434434
// set style, link and text content of anchor
435435
link.textContent = item.name;
436436
link.classList.add("main-nav-item");
437-
link.href = (hosted && !item.href.startWith("https"))
437+
link.href = hosted
438438
? origin + "/DataScienceTutorials.jl" + item.href
439439
: item.href;
440440
link.id = item.id;

0 commit comments

Comments
 (0)