Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lyxal committed Nov 23, 2023
1 parent b05e5ef commit 53da0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function generateURL() {
var version = Vyxal.getVersion()

var url = [flags, header, code, footer, inputs, version];
return window.location.href + "#" + encode(url)
return window.location.href.split("#")[0] + "#" + encode(url);
}

// onclick event listener for sharing buttons
Expand Down

0 comments on commit 53da0fa

Please sign in to comment.