cleanup spinner

This commit is contained in:
frederik
2024-04-03 15:30:46 +02:00
parent 4f4438b5de
commit ba2081148c
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -387,8 +387,7 @@ function getTheDate(increment) {
mm = d.getMonth() + 1; if (mm < 10) mm = "0" + mm; mm = d.getMonth() + 1; if (mm < 10) mm = "0" + mm;
dd = d.getDate(); if (dd < 10) dd = "0" + dd; dd = d.getDate(); if (dd < 10) dd = "0" + dd;
swipeSpinner=document.getElementById("SwipeSpinner"); document.getElementById("SwipeSpinner").hidden = false;
swipeSpinner.setAttribute("src","images/spinner.gif");
window.location = "/views.php?date="+yyyy+"-"+mm+"-"+dd+"&view=Daily+Charts"; window.location = "/views.php?date="+yyyy+"-"+mm+"-"+dd+"&view=Daily+Charts";
} }
+1 -1
View File
@@ -139,7 +139,7 @@ function submitID() {
<tr> <tr>
<th>Total Detections For The Day</th> <th>Total Detections For The Day</th>
<td><?php echo $totalcount['COUNT(*)']; ?></td> <td><?php echo $totalcount['COUNT(*)']; ?></td>
<td><img id="SwipeSpinner" style="height:30px;"></td> <td style="padding:unset"><img src="images/spinner.gif" id="SwipeSpinner" hidden style="height:30px;"></td>
</tr> </tr>
</table> </table>
<?php // <br><button type="button" onclick="showDialog()">Export as CSV for eBird</button><br><br> ?> <?php // <br><button type="button" onclick="showDialog()">Export as CSV for eBird</button><br><br> ?>