mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
동영상 섬네일, GIF로 취급 기능 추가
이미지, 동영상 첨부시 구분할 수 있도록 그 섬네일에 play 아이콘 추가 모듈별 파일 설정시 파일 모듈의 업로드 기본, 이미지, 동영상 설정을 각각 달리 적용할 수 있도록 기본 설정 제어 옵션 분리
This commit is contained in:
parent
c2025c4bde
commit
cdbc2d7a82
14 changed files with 644 additions and 430 deletions
|
|
@ -1,6 +1,5 @@
|
|||
(function($) {
|
||||
$(function() {
|
||||
|
||||
$('#use_default_file_config').on('change', function() {
|
||||
if ($(this).is(':checked')) {
|
||||
$('.use_custom_file_config').hide();
|
||||
|
|
@ -8,5 +7,19 @@
|
|||
$('.use_custom_file_config').show();
|
||||
}
|
||||
});
|
||||
$('#use_image_default_file_config').on('change', function() {
|
||||
if ($(this).is(':checked')) {
|
||||
$('.use_custom_image_file_config').hide();
|
||||
} else {
|
||||
$('.use_custom_image_file_config').show();
|
||||
}
|
||||
});
|
||||
$('#use_video_default_file_config').on('change', function() {
|
||||
if ($(this).is(':checked')) {
|
||||
$('.use_custom_video_file_config').hide();
|
||||
} else {
|
||||
$('.use_custom_video_file_config').show();
|
||||
}
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue