diff --git a/docs/index.html b/docs/index.html index e7335c35..e0a4ed32 100644 --- a/docs/index.html +++ b/docs/index.html @@ -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 {