Skip to content

Commit d0e485a

Browse files
authored
Merge pull request #12 from tobalsan/patch-1
Fix callback test
2 parents 9677124 + efbc805 commit d0e485a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/jquery.uploadPreview.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
reader.readAsDataURL(file);
5151

5252
// Success callback function call
53-
if(!settings.success_callback) {
53+
if(settings.success_callback) {
5454
settings.success_callback();
5555
}
5656
} else {

0 commit comments

Comments
 (0)