Remove second autofocus tag
Also update dependencies, as usual.
This commit is contained in:
parent
8e0426ce03
commit
a78968710b
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "interlanguage-checker",
|
||||
"version": "1.10.19",
|
||||
"version": "1.10.20",
|
||||
"description": "Check the consistency of MediaWiki interlanguage links in a simple overview.",
|
||||
"author": "Felix W. Dekker",
|
||||
"browser": "dist/bundle.js",
|
||||
|
@ -34,7 +34,7 @@
|
|||
"grunt-text-replace": "^0.4.0",
|
||||
"grunt-webpack": "^4.0.2",
|
||||
"style-loader": "^2.0.0",
|
||||
"webpack": "^5.4.0",
|
||||
"webpack": "^5.9.0",
|
||||
"webpack-cli": "^4.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
Article
|
||||
<i class="fa fa-question-circle-o" title="The title of the article to check"></i>
|
||||
</label>
|
||||
<input id="article" type="text" autofocus />
|
||||
<input id="article" type="text" />
|
||||
<br />
|
||||
<button id="check" type="button">Check</button>
|
||||
</form>
|
||||
|
|
|
@ -9,6 +9,7 @@ import {discoverNetwork, InterlangNetwork, MediaWiki, MediaWikiManager} from "./
|
|||
window.ilc = {};
|
||||
|
||||
|
||||
// Set up template
|
||||
doAfterLoad(() => {
|
||||
$("#nav").appendChild(nav("/Tools/Interlanguage Checker/"));
|
||||
$("#header").appendChild(header({
|
||||
|
@ -27,6 +28,7 @@ doAfterLoad(() => {
|
|||
$("main").style.display = null;
|
||||
});
|
||||
|
||||
// Handle "About" toggle
|
||||
doAfterLoad(() => {
|
||||
const about = $("#about");
|
||||
const key = "/tools/interlanguage-checker//toggle-about";
|
||||
|
@ -38,6 +40,7 @@ doAfterLoad(() => {
|
|||
else about.open = storedState === "true";
|
||||
});
|
||||
|
||||
// Handle input
|
||||
doAfterLoad(async () => {
|
||||
const urlInput = new ValidatableInput($("#url"), (value) => {
|
||||
if (value.trim() === "")
|
||||
|
|
Loading…
Reference in New Issue