diff --git a/index.html b/index.html index e46575183..e0e34a22a 100644 --- a/index.html +++ b/index.html @@ -56,6 +56,10 @@ }); clearSettingsButton.addEventListener('click', async function() { + if (!confirm("Are you sure you want to reset Cockpit settings?")) { + return; + } + localStorage.clear(); // We are also going to clear the cache to ensure a fresh access to all files as well if (caches) {