Skip to content
This repository was archived by the owner on May 19, 2024. It is now read-only.

Commit 53c965c

Browse files
authored
Added notification after skin has been uploaded
1 parent 480ac93 commit 53c965c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/loader.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ $(document).ready(function(){
2121
}).done(function(respond){
2222
//$("#respond").html(respond); //Debug in HTML
2323
if(respond.success){
24-
console.log('Uploading file - success');
2524
console.log(respond);
26-
location.reload();
25+
console.log('Uploading file - success');
26+
toastr.success('Have fun!', 'Upload skin successfully');
27+
location.reload();
2728
}
2829
else if(!respond.success){
2930
toastr.options.progressBar = true;

0 commit comments

Comments
 (0)