mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
이미지, 동영상 첨부시 구분할 수 있도록 그 섬네일에 play 아이콘 추가 모듈별 파일 설정시 파일 모듈의 업로드 기본, 이미지, 동영상 설정을 각각 달리 적용할 수 있도록 기본 설정 제어 옵션 분리
25 lines
672 B
JavaScript
25 lines
672 B
JavaScript
(function($) {
|
|
$(function() {
|
|
$('#use_default_file_config').on('change', function() {
|
|
if ($(this).is(':checked')) {
|
|
$('.use_custom_file_config').hide();
|
|
} else {
|
|
$('.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);
|