mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
clean up background.{html,js}
This commit is contained in:
@@ -19,13 +19,10 @@
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script type="application/javascript" src="/browser-polyfill.js"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Container for the media -->
|
<!-- Container for the media -->
|
||||||
<div id="media-container">
|
<div id="media-container"></div>
|
||||||
<!-- Will be populated dynamically -->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script src="background.js"></script>
|
<script src="background.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ const openDB = () => {
|
|||||||
const readData = async () => {
|
const readData = async () => {
|
||||||
const selectedBackground = localStorage.getItem('selectedBackground');
|
const selectedBackground = localStorage.getItem('selectedBackground');
|
||||||
if (!selectedBackground) {
|
if (!selectedBackground) {
|
||||||
console.log('No selected background in local storage.');
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user