set title and header in settings page
This commit is contained in:
parent
0ec045a666
commit
6cbac6b4fc
@ -1,6 +1,9 @@
|
||||
import { setTitleAndHeader } from "./utils.js";
|
||||
|
||||
window.addEventListener("DOMContentLoaded", init);
|
||||
|
||||
function init () {
|
||||
setTitleAndHeader();
|
||||
const scheme = localStorage.getItem("sync-scheme");
|
||||
if (scheme) {
|
||||
document.querySelector(`#sync-${scheme}`).checked = true;
|
||||
|
Loading…
Reference in New Issue
Block a user