Skip to content

Commit d9e411a

Browse files
committed
Use the disable option for both loading and setting the preview element.
1 parent f74f339 commit d9e411a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/jquery.fileupload-audio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
prefix: true,
4343
fileTypes: '@',
4444
maxFileSize: '@',
45-
disabled: '@disableAudioLoad'
45+
disabled: '@disableAudioPreview'
4646
},
4747
{
4848
action: 'setAudio',

js/jquery.fileupload-video.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
prefix: true,
4343
fileTypes: '@',
4444
maxFileSize: '@',
45-
disabled: '@disableVideoLoad'
45+
disabled: '@disableVideoPreview'
4646
},
4747
{
4848
action: 'setVideo',

0 commit comments

Comments
 (0)