set title and header in settings page
This commit is contained in:
parent
fabc934be6
commit
9f68da61cb
@ -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