mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: background not changing on storage change
This commit is contained in:
@@ -103,6 +103,7 @@ const main = async (): Promise<void> => {
|
|||||||
// Listen for changes to local storage
|
// Listen for changes to local storage
|
||||||
window.addEventListener('storage', async (event) => {
|
window.addEventListener('storage', async (event) => {
|
||||||
if (event.key === 'selectedBackground') {
|
if (event.key === 'selectedBackground') {
|
||||||
|
await updateBackground();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user