Update popup.html

main
Nes370 2024-08-08 15:36:14 -07:00
parent 587d7b209c
commit 53da13ab1d
1 changed files with 8 additions and 8 deletions

View File

@ -42,14 +42,14 @@
} }
</style> </style>
<script> <script>
document.addEventListener("DOMContentLoaded", function() { document.addEventListener("DOMContentLoaded", function() {
const headerIcon = cotument.querySelector("#sgdb-icon"); const headerIcon = cotument.querySelector("#sgdb-icon");
const nesIcon = document.querySelector("#nes-icon"); const nesIcon = document.querySelector("#nes-icon");
const giteaIcon = document.createElement("#gitea-icon"); const giteaIcon = document.createElement("#gitea-icon");
headerIcon.src = browser.runtime.getURL("icons/icon_32.png"); headerIcon.src = browser.runtime.getURL("icons/icon_32.png");
nesIcon.src = browser.runtime.getURL("icons/nes_32.png"); nesIcon.src = browser.runtime.getURL("icons/nes_32.png");
giteaIcon.src = browser.runtime.getURL("icons/gitea_32.png"); giteaIcon.src = browser.runtime.getURL("icons/gitea_32.png");
}); });
</script> </script>
</head> </head>
<body> <body>