mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-26 10:05:10 +00:00
offline use
This commit is contained in:
@@ -311,6 +311,8 @@ if (window.location.pathname === '/') {
|
||||
|
||||
if (storage.local.get('offlineCache') === true) {
|
||||
serviceworker.register();
|
||||
} else {
|
||||
serviceworker.unregister();
|
||||
}
|
||||
} else {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
Reference in New Issue
Block a user