A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
fix: confirm delete used disk space
Christian Fei6e4545180d74
diff --git a/client/lib/router.js b/client/lib/router.jsindex 6aa083b..0b2ae68 100644--- a/client/lib/router.js+++ b/client/lib/router.js@@ -86,7 +86,7 @@ const routes = {})$reclaimDiskSpace.addEventListener('click', (event) => {event.preventDefault()- if (!confirm('About to delete downloaded videos, are you sure?'))+ if (!confirm('About to delete downloaded videos, are you sure?')) returnconsole.log('reclaiming')window.fetch('/api/reclaim-disk-space', {method: 'POST'