Merge branch 'master' of mojotrollz.eu:hosting

This commit is contained in:
Naeltard 2015-04-17 00:44:57 +02:00
commit 3d43020358

View File

@ -22,8 +22,13 @@ function init_start(){
//download //download
$('#btn_load_infohash').click(function(e){ $('#btn_load_infohash').click(function(e){
e.preventDefault(); if ($('#input_load_infohash').val()){
slingit_download(client,$('#input_load_infohash').val());}); e.preventDefault();
slingit_download(client,$('#input_load_infohash').val());
} else {
$('#input_load_infohash').focus();
}});
//start download if hash provided //start download if hash provided
if($('#input_load_infohash').val() !== ''){ if($('#input_load_infohash').val() !== ''){