Skip to content

Commit

Permalink
fix: still js console errors from typo in markdown template
Browse files Browse the repository at this point in the history
See d875ff5. `startswith` should be `startsWith`.
  • Loading branch information
iisakkirotko authored and maartenbreddels committed Sep 5, 2024
1 parent 864939d commit 532b837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solara/components/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def _markdown_template(
href = location.pathname + href.substr(1);
a.attributes['href'].href = href;
}
let authLink = href.startswith("/_solara/auth/");
let authLink = href.startsWith("/_solara/auth/");
if( (href.startsWith("./") || href.startsWith("/")) && !authLink) {
a.onclick = e => {
console.log("clicked", href)
Expand Down

0 comments on commit 532b837

Please sign in to comment.