Skip to content

Commit

Permalink
Disable code copy button on main page
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Oct 11, 2024
1 parent 3b2ecca commit a520047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/static/js/copybutton.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function addCopyButtonToCodeBlocks() {
// Don't run the script on the main landing page
if (window.location.pathname === "/funnel/") {
if (window.location.pathname === "/funnel/" || window.location.pathname === "/") {
return;
}

Expand Down

0 comments on commit a520047

Please sign in to comment.