aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorBobby Wibowo <[email protected]>2018-04-26 13:48:56 +0700
committerCrawl <[email protected]>2018-04-26 08:48:56 +0200
commit5a4bec6b007ef8ee09ea24375caa3c09744dd023 (patch)
tree98ae97f7e39d4b49b743a76c5a4ab58a62866489 /public
parentno-mixed-spaces-and-tabs (#95) (diff)
downloadhost.fuwn.me-5a4bec6b007ef8ee09ea24375caa3c09744dd023.tar.xz
host.fuwn.me-5a4bec6b007ef8ee09ea24375caa3c09744dd023.zip
no-useless-return (#94)
Diffstat (limited to 'public')
-rw-r--r--public/js/dashboard.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/public/js/dashboard.js b/public/js/dashboard.js
index 2715f47..9b1d8ca 100644
--- a/public/js/dashboard.js
+++ b/public/js/dashboard.js
@@ -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) {