diff --git a/package.json b/package.json index 05e09a8..071045c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "interlanguage-checker", - "version": "1.10.14", + "version": "1.10.15", "description": "Check the consistency of MediaWiki interlanguage links in a simple overview.", "author": "Felix W. Dekker", "browser": "dist/bundle.js", diff --git a/src/main/js/Main.js b/src/main/js/Main.js index 7457687..114f3a2 100644 --- a/src/main/js/Main.js +++ b/src/main/js/Main.js @@ -127,7 +127,7 @@ doAfterLoad(async () => { // Read inputs from cookies const apiUrl = localStorage.getItem("/tools/interlanguage-checker//api-url"); - if (apiUrl !== undefined && apiUrl.trim() !== "") { + if (apiUrl !== null && apiUrl.trim() !== "") { urlInput.setValue(apiUrl); articleInput.input.focus(); }