Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhibbitts committed Nov 18, 2024
1 parent 8126bde commit 5633b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@
var markdownFileURL = '';

// Check if the URL has only a '?' followed by content, without any '='
if (window.location.href.includes('?')) {
if (!(getURLParameterByName(['url-field', 'urlField']))) {
// Extract everything after the '?' as the URL, up to the first '&'
markdownFileURL = window.location.href.split('?')[1].split('&')[0] || '';
} else {
Expand Down

0 comments on commit 5633b76

Please sign in to comment.