Go2ticket/src/options/options.js
Clément CHABANNE e8adf6dad1
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s
v1
2024-06-08 21:25:04 +02:00

12 lines
295 B
JavaScript

function save_options() {
var url = document.getElementById('url').value;
localStorage.setItem("url", url);
alert(url);
}
function url()
{
document.getElementById("url").value=localStorage.getItem("url");
}
document.getElementById('save').addEventListener('click', save_options);
url();