mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
.
This commit is contained in:
parent
fc3ae6963b
commit
23316a0f20
@ -49,7 +49,8 @@ if (window.location.pathname === '/settings/') {
|
|||||||
) === 'zombie'
|
) === 'zombie'
|
||||||
) {
|
) {
|
||||||
storage.local.set('showAds', false);
|
storage.local.set('showAds', false);
|
||||||
alert('Ads have been disabled. Reload the page to apply the changes.');
|
alert('Ads have successfully been disabled.');
|
||||||
|
window.location.reload();
|
||||||
} else {
|
} else {
|
||||||
alert('Wrong password. Join the Discord server to get the password.');
|
alert('Wrong password. Join the Discord server to get the password.');
|
||||||
adsCheckbox.checked = true;
|
adsCheckbox.checked = true;
|
||||||
@ -57,6 +58,7 @@ if (window.location.pathname === '/settings/') {
|
|||||||
} else {
|
} else {
|
||||||
storage.local.set('showAds', true);
|
storage.local.set('showAds', true);
|
||||||
alert('Ads have been enabled. Thank you for supporting the project!');
|
alert('Ads have been enabled. Thank you for supporting the project!');
|
||||||
|
window.location.reload();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user