Merge branch 'master' of mojotrollz.eu:hosting
This commit is contained in:
commit
3d43020358
@ -22,8 +22,13 @@ function init_start(){
|
||||
|
||||
//download
|
||||
$('#btn_load_infohash').click(function(e){
|
||||
e.preventDefault();
|
||||
slingit_download(client,$('#input_load_infohash').val());});
|
||||
if ($('#input_load_infohash').val()){
|
||||
e.preventDefault();
|
||||
slingit_download(client,$('#input_load_infohash').val());
|
||||
} else {
|
||||
$('#input_load_infohash').focus();
|
||||
}});
|
||||
|
||||
|
||||
//start download if hash provided
|
||||
if($('#input_load_infohash').val() !== ''){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user