Skip to content

Commit

Permalink
Use correct field ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhibbitts committed Nov 1, 2022
1 parent 03941db commit d08019d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
}

function selectText() {
const input = document.getElementById('text');
const input = document.getElementById('docsifythisurlfield');
input.focus();
input.select();
}
Expand Down Expand Up @@ -614,6 +614,9 @@
if (getURLParameterByName('url-field')) {
var markdownFileURL = '';
markdownFileURL = getURLParameterByName('url-field', null, null, window.location.href, true);
if (markdownFileURL == "empty") {
markdownFileURL = '';
}
document.getElementById('docsifythisurlfield').value = markdownFileURL;
}

Expand Down

0 comments on commit d08019d

Please sign in to comment.