koesan commited on
Commit
f20fdec
·
verified ·
1 Parent(s): 9ee147d

Update static/scripts.js

Browse files
Files changed (1) hide show
  1. static/scripts.js +3 -3
static/scripts.js CHANGED
@@ -196,7 +196,7 @@ document.addEventListener("DOMContentLoaded", function () {
196
  document.getElementById('dubbing-lang').required = false;
197
  }
198
 
199
- // Günlük bilgi notu
200
  const note = document.getElementById("daily-note");
201
  const closeBtn = document.getElementById("close-note");
202
  const today = new Date().toISOString().split("T")[0];
@@ -211,7 +211,7 @@ document.addEventListener("DOMContentLoaded", function () {
211
  });
212
  });
213
 
214
- // Define resetForm outside of the DOMContentLoaded event listener
215
  function resetForm() {
216
  fetch('/delete-uploads', {
217
  method: 'POST'
@@ -236,6 +236,6 @@ function closePurchaseModal() {
236
  }
237
 
238
  function confirmPurchase() {
239
- alert("Satın alma işlemi başarıyla tamamlandı!");
240
  closePurchaseModal();
241
  }
 
196
  document.getElementById('dubbing-lang').required = false;
197
  }
198
 
199
+ // Daily info note
200
  const note = document.getElementById("daily-note");
201
  const closeBtn = document.getElementById("close-note");
202
  const today = new Date().toISOString().split("T")[0];
 
211
  });
212
  });
213
 
214
+ // Reset form
215
  function resetForm() {
216
  fetch('/delete-uploads', {
217
  method: 'POST'
 
236
  }
237
 
238
  function confirmPurchase() {
239
+ alert("Purchase completed successfully!");
240
  closePurchaseModal();
241
  }