Spaces:
Sleeping
Sleeping
Commit ·
d14f6f6
1
Parent(s): b94c715
Add system
Browse files107 unmodified lines108109110111112113114416 unmodified lines531532533534535536537107 unmodified linesid="check"class="mt-4 px-6 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">Let's fact check!</button><div id="progress" class="mt-6 hidden border p-4 rounded-lg bg-white shadow">416 unmodified linesdocument.getElementById("pledge-author").value = "Labour";document.getElementById("pledge-date").value = "2024-07-04";suggestedPledge = { text, index };alert("✅ This pledge has been filled in. You can now click 'Let's fact check!'");await fetch("/api/log-similar-selection", {method: "POST",headers: { "Content-Type": "application/json" },107 unmodified lines108109110111112113114416 unmodified lines531532533534535536537107 unmodified linesid="check"class="mt-4 px-6 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">Let's check!</button><div id="progress" class="mt-6 hidden border p-4 rounded-lg bg-white shadow">416 unmodified linesdocument.getElementById("pledge-author").value = "Labour";document.getElementById("pledge-date").value = "2024-07-04";suggestedPledge = { text, index };alert("✅ This pledge has been filled in. You can now click 'Let's check!'");await fetch("/api/log-similar-selection", {method: "POST",headers: { "Content-Type": "application/json" },
test.html+2-2