mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 09:41:33 +00:00
Derp
This commit is contained in:
parent
9db6c23ce1
commit
dca43e948e
@ -14,8 +14,8 @@ upload.checkIfPublic = function(){
|
|||||||
upload.preparePage();
|
upload.preparePage();
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
return swal("An error ocurred", 'There was an error with the request, please check the console for more information.', "error");
|
swal("An error ocurred", 'There was an error with the request, please check the console for more information.', "error");
|
||||||
console.log(error);
|
return console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -54,8 +54,8 @@ upload.verifyToken = function(token, reloadOnError){
|
|||||||
|
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
return swal("An error ocurred", 'There was an error with the request, please check the console for more information.', "error");
|
swal("An error ocurred", 'There was an error with the request, please check the console for more information.', "error");
|
||||||
console.log(error);
|
return console.log(error);
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -88,8 +88,8 @@ upload.prepareUpload = function(){
|
|||||||
document.getElementById('albumDiv').style.display = 'block';
|
document.getElementById('albumDiv').style.display = 'block';
|
||||||
})
|
})
|
||||||
.catch(function(e) {
|
.catch(function(e) {
|
||||||
return swal("An error ocurred", 'There was an error with the request, please check the console for more information.', "error");
|
swal("An error ocurred", 'There was an error with the request, please check the console for more information.', "error");
|
||||||
console.log(e);
|
return console.log(e);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user