mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: background script matchmedia broken
This commit is contained in:
@@ -273,10 +273,6 @@ browser.runtime.onInstalled.addListener(function (event) {
|
||||
browser.storage.local.remove(['justupdated']);
|
||||
browser.storage.local.remove(['data']);
|
||||
|
||||
if (event.reason == 'install' && window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
|
||||
browser.storage.local.set({ animations: false });
|
||||
}
|
||||
|
||||
UpdateCurrentValues();
|
||||
if ( event.reason == 'install', event.reason == 'update' ) {
|
||||
browser.storage.local.set({ justupdated: true });
|
||||
|
||||
Reference in New Issue
Block a user