Skip to content

Commit

Permalink
Merge pull request #158 from hibbitts-design/docsify-this-v1
Browse files Browse the repository at this point in the history
Update index.html
  • Loading branch information
paulhibbitts authored Nov 18, 2024
2 parents 5729761 + 5633b76 commit 19cdcf2
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 19cdcf2

Please sign in to comment.