no-useless-return (#94)

This commit is contained in:
Bobby Wibowo 2018-04-26 13:48:56 +07:00 committed by Crawl
parent fa6c33e2e9
commit 5a4bec6b00

View File

@ -245,7 +245,6 @@ panel.deleteFile = function(id){
swal("Deleted!", "The file has been deleted.", "success");
panel.getUploads();
return;
})
.catch(function (error) {
@ -367,7 +366,6 @@ panel.renameAlbum = function(id){
swal("Success!", "Your album was renamed to: " + inputValue, "success");
panel.getAlbumsSidebar();
panel.getAlbums();
return;
})
.catch(function (error) {
@ -404,7 +402,6 @@ panel.deleteAlbum = function(id){
swal("Deleted!", "Your album has been deleted.", "success");
panel.getAlbumsSidebar();
panel.getAlbums();
return;
})
.catch(function (error) {
@ -432,7 +429,6 @@ panel.submitAlbum = function(){
swal("Woohoo!", "Album was added successfully", "success");
panel.getAlbumsSidebar();
panel.getAlbums();
return;
})
.catch(function (error) {