Update index.html
Browse files- index.html +3 -3
index.html
CHANGED
|
@@ -1364,14 +1364,14 @@
|
|
| 1364 |
<div class="control-group">
|
| 1365 |
<span class="control-label">From:</span>
|
| 1366 |
<select id="dateFrom" class="control-select" onchange="resetToFirstPage(); searchModels(getCurrentSearchValue());">
|
| 1367 |
-
<option value="">
|
| 1368 |
</select>
|
| 1369 |
</div>
|
| 1370 |
|
| 1371 |
<div class="control-group">
|
| 1372 |
<span class="control-label">To:</span>
|
| 1373 |
<select id="dateTo" class="control-select" onchange="resetToFirstPage(); searchModels(getCurrentSearchValue());">
|
| 1374 |
-
<option value="">
|
| 1375 |
</select>
|
| 1376 |
</div>
|
| 1377 |
|
|
@@ -1612,7 +1612,7 @@
|
|
| 1612 |
const toSelect = document.getElementById('dateTo');
|
| 1613 |
const dates = getAvailableUploadDates();
|
| 1614 |
|
| 1615 |
-
// Clear existing options (keep the "
|
| 1616 |
const fromOptions = fromSelect.querySelectorAll('option:not([value=""])');
|
| 1617 |
const toOptions = toSelect.querySelectorAll('option:not([value=""])');
|
| 1618 |
fromOptions.forEach(opt => opt.remove());
|
|
|
|
| 1364 |
<div class="control-group">
|
| 1365 |
<span class="control-label">From:</span>
|
| 1366 |
<select id="dateFrom" class="control-select" onchange="resetToFirstPage(); searchModels(getCurrentSearchValue());">
|
| 1367 |
+
<option value="">One day</option>
|
| 1368 |
</select>
|
| 1369 |
</div>
|
| 1370 |
|
| 1371 |
<div class="control-group">
|
| 1372 |
<span class="control-label">To:</span>
|
| 1373 |
<select id="dateTo" class="control-select" onchange="resetToFirstPage(); searchModels(getCurrentSearchValue());">
|
| 1374 |
+
<option value="">One day</option>
|
| 1375 |
</select>
|
| 1376 |
</div>
|
| 1377 |
|
|
|
|
| 1612 |
const toSelect = document.getElementById('dateTo');
|
| 1613 |
const dates = getAvailableUploadDates();
|
| 1614 |
|
| 1615 |
+
// Clear existing options (keep the "One day" option)
|
| 1616 |
const fromOptions = fromSelect.querySelectorAll('option:not([value=""])');
|
| 1617 |
const toOptions = toSelect.querySelectorAll('option:not([value=""])');
|
| 1618 |
fromOptions.forEach(opt => opt.remove());
|