limsight commited on
Commit
ea342a8
·
verified ·
1 Parent(s): bcd6275

Keep the text static at "Gemini 2.5 Flash" regardless of what's selected in the dropdown.

Browse files

When you change the dropdown selection:

1. The `change` event listener triggers `updateModelInfo()`
2. This function gets the selected value from the dropdown
3. It updates the text content of `<span id="model-name">` to match the selected model's display text
4. It also updates the `href` attribute of the surrounding link to point to the correct documentation

By removing `id="model-link"` and `id="model-name"`, the JavaScript won't be able to find these elements to update them.

Files changed (1) hide show
  1. templates/index.html +1 -2
templates/index.html CHANGED
@@ -193,12 +193,11 @@
193
  >
194
  powered by
195
  <a
196
- id="model-link"
197
  class="banner-link"
198
  href="https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/2-5-flash"
199
  target="_blank"
200
  rel="noopener noreferrer"
201
- ><span id="model-name">Gemini 2.5 Flash</span></a
202
  >
203
  or
204
  <a
 
193
  >
194
  powered by
195
  <a
 
196
  class="banner-link"
197
  href="https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/2-5-flash"
198
  target="_blank"
199
  rel="noopener noreferrer"
200
+ >Gemini 2.5 Flash</a
201
  >
202
  or
203
  <a