From fcddd88764fffa355757bde6007515e0f8d1eee9 Mon Sep 17 00:00:00 2001 From: SisiVero Date: Thu, 10 Oct 2024 02:46:38 -0700 Subject: [PATCH 1/2] "ccmixter error resolved" --- src/assets/js/script.js | 6 +++--- src/index.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/assets/js/script.js b/src/assets/js/script.js index 36de290..8d98cef 100644 --- a/src/assets/js/script.js +++ b/src/assets/js/script.js @@ -12,7 +12,7 @@ document.addEventListener("DOMContentLoaded", function (e) { form.commercial = document.getElementById("commercial").checked; form.modify = document.getElementById("modify").checked; selectedEngine = document.querySelector( - 'input[name="search-engine"]:checked', + 'input[name="search-engine"]:checked' ); form.searchEngine = selectedEngine.value; form.searchEngineURL = selectedEngine.dataset.url; @@ -56,11 +56,11 @@ document.addEventListener("DOMContentLoaded", function (e) { case "ccmixter": rights = ""; if (form.commercial && form.modify) { - rights += "&lic=by,sa,s,splus,pd,zero"; + rights += "&lic=by,sa,s,splus,pd,cc0"; } else if (form.commercial) { rights += "&lic=open"; } else if (form.modify) { - rights += "&lic=by,nc,sa,ncsa,s,splus,pd,zero"; + rights += "&lic=by,nc,sa,ncsa,s,splus,pd,cc0"; } break; diff --git a/src/index.html b/src/index.html index 3214cf1..29c030d 100644 --- a/src/index.html +++ b/src/index.html @@ -1,4 +1,4 @@ - + From 2eb88cae9050ed999887b8199856483d2958efe6 Mon Sep 17 00:00:00 2001 From: SisiVero Date: Thu, 10 Oct 2024 03:00:23 -0700 Subject: [PATCH 2/2] unneeded changes reverted --- src/assets/js/script.js | 2 +- src/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/js/script.js b/src/assets/js/script.js index 8d98cef..9523d72 100644 --- a/src/assets/js/script.js +++ b/src/assets/js/script.js @@ -12,7 +12,7 @@ document.addEventListener("DOMContentLoaded", function (e) { form.commercial = document.getElementById("commercial").checked; form.modify = document.getElementById("modify").checked; selectedEngine = document.querySelector( - 'input[name="search-engine"]:checked' + 'input[name="search-engine"]:checked', ); form.searchEngine = selectedEngine.value; form.searchEngineURL = selectedEngine.dataset.url; diff --git a/src/index.html b/src/index.html index 29c030d..3214cf1 100644 --- a/src/index.html +++ b/src/index.html @@ -1,4 +1,4 @@ - +