Wills17 commited on
Commit
2d3ad9c
·
verified ·
1 Parent(s): 1356042

Update static/scripts.js

Browse files
Files changed (1) hide show
  1. static/scripts.js +5 -0
static/scripts.js CHANGED
@@ -105,6 +105,11 @@ async function handleFile(file) {
105
  const apiKey = localStorage.getItem('gemini_api_key');
106
  if (!apiKey) {
107
  showToast('Please enter and save your Gemini API key before uploading.', 'error');
 
 
 
 
 
108
  return;
109
  }
110
 
 
105
  const apiKey = localStorage.getItem('gemini_api_key');
106
  if (!apiKey) {
107
  showToast('Please enter and save your Gemini API key before uploading.', 'error');
108
+ // Add delay for second toast
109
+ setTimeout(() => {
110
+ showToast('See the help button at the top for details.', 'error');
111
+ }, 3000);
112
+
113
  return;
114
  }
115