1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 09:24:48 +00:00
This commit is contained in:
zumbiepig 2024-08-21 16:24:38 -07:00
parent fc3ae6963b
commit 23316a0f20
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE

View File

@ -49,7 +49,8 @@ if (window.location.pathname === '/settings/') {
) === 'zombie'
) {
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 {
alert('Wrong password. Join the Discord server to get the password.');
adsCheckbox.checked = true;
@ -57,6 +58,7 @@ if (window.location.pathname === '/settings/') {
} else {
storage.local.set('showAds', true);
alert('Ads have been enabled. Thank you for supporting the project!');
window.location.reload();
}
});
});