[fix] drag event not listened

This commit is contained in:
Wu Han 2021-01-08 19:40:20 +00:00
parent 814fc3463e
commit a213f4e89f
3 changed files with 9 additions and 8 deletions

View File

@ -268,7 +268,7 @@
<tbody> <tbody>
<tr> <tr>
<th scope="col">ulysses16</th> <th scope="col">ulysses16</th>
<td id="ulysses16_your">Inf</td> <td id="ulysses16_your">-</td>
<td id="ulysses16_best">Inf</td> <td id="ulysses16_best">Inf</td>
<td id="ulysses16_download"> <td id="ulysses16_download">
<a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a> <a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a>
@ -279,7 +279,7 @@
</tr> </tr>
<tr> <tr>
<th scope="col">att48</th> <th scope="col">att48</th>
<td id="att48_your">Inf</td> <td id="att48_your">-</td>
<td id="att48_best">Inf</td> <td id="att48_best">Inf</td>
<td id="att48_download"> <td id="att48_download">
<a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a> <a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a>
@ -290,7 +290,7 @@
</tr> </tr>
<tr> <tr>
<th scope="col">st70</th> <th scope="col">st70</th>
<td id="st70_your">Inf</td> <td id="st70_your">-</td>
<td id="st70_best">Inf</td> <td id="st70_best">Inf</td>
<td id="st70_download"> <td id="st70_download">
<a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a> <a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a>
@ -301,7 +301,7 @@
</tr> </tr>
<tr> <tr>
<th scope="col">a280</th> <th scope="col">a280</th>
<td id="a280_your">Inf</td> <td id="a280_your">-</td>
<td id="a280_best">Inf</td> <td id="a280_best">Inf</td>
<td id="a280_download"> <td id="a280_download">
<a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a> <a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a>
@ -312,7 +312,7 @@
</tr> </tr>
<tr> <tr>
<th scope="col">pcb442</th> <th scope="col">pcb442</th>
<td id="pcb442_your">Inf</td> <td id="pcb442_your">-</td>
<td id="pcb442_best">Inf</td> <td id="pcb442_best">Inf</td>
<td id="pcb442_download"> <td id="pcb442_download">
<a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a> <a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a>
@ -323,7 +323,7 @@
</tr> </tr>
<tr> <tr>
<th scope="col">dsj1000</th> <th scope="col">dsj1000</th>
<td id="dsj1000_your">Inf</td> <td id="dsj1000_your">-</td>
<td id="dsj1000_best">Inf</td> <td id="dsj1000_best">Inf</td>
<td id="dsj1000_download"> <td id="dsj1000_download">
<a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a> <a href="" target="_blank"><span class="badge badge-primary link">txt</span></a> &nbsp;&nbsp; <a href="" target="_blank"><span class="badge badge-success link">json</span></a>

View File

@ -136,7 +136,8 @@ $( document ).ready( () => {
var url = window.location; var url = window.location;
// Upload File // Upload File
$('#uploadfile').change(function(e){ $('#uploadfile').on('fileloaded', function(e)
{
if(e.target.files[0]) if(e.target.files[0])
{ {
var fileName = e.target.files[0].name; var fileName = e.target.files[0].name;

View File

@ -42,7 +42,7 @@ socket.on('start', () => {
Snackbar.show({ Snackbar.show({
text: 'Running, please wait for your result.', text: 'Running, please wait for your result.',
pos: 'bottom-right', pos: 'bottom-right',
duration: 60000 duration: 10000
}); });
}); });