Fix undefined settings
This commit is contained in:
parent
62844f9ac2
commit
232d1e5b30
@ -8,7 +8,7 @@ function saveOptions(e) {
|
|||||||
function restoreOptions() {
|
function restoreOptions() {
|
||||||
|
|
||||||
function setCurrentChoice(result) {
|
function setCurrentChoice(result) {
|
||||||
document.querySelector("#tileserver").value = result.tileserver;
|
document.querySelector("#tileserver").value = result.tileserver || "";
|
||||||
}
|
}
|
||||||
|
|
||||||
function onError(error) {
|
function onError(error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user