모바일 글쓰기 에디터 출력 코드 수정

This commit is contained in:
chicpro
2015-09-25 15:11:21 +09:00
parent 20302f8312
commit 517e5d117b
2 changed files with 2 additions and 3 deletions

View File

@ -57,8 +57,7 @@ if(is_file($skin_file)) {
} }
$is_dhtml_editor = false; $is_dhtml_editor = false;
// 모바일에서는 DHTML 에디터 사용불가 if ($config['cf_editor'] && $qaconfig['qa_use_editor'] && (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE)) {
if ($config['cf_editor'] && $qaconfig['qa_use_editor'] && !G5_IS_MOBILE) {
$is_dhtml_editor = true; $is_dhtml_editor = true;
} }

View File

@ -392,7 +392,7 @@ if ($is_guest) {
$is_dhtml_editor = false; $is_dhtml_editor = false;
$is_dhtml_editor_use = false; $is_dhtml_editor_use = false;
$editor_content_js = ''; $editor_content_js = '';
if(!G5_IS_MOBILE || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE) if($config['cf_editor'] && !is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE)
$is_dhtml_editor_use = true; $is_dhtml_editor_use = true;
// 모바일에서는 G5_IS_MOBILE_DHTML_USE 설정에 따라 DHTML 에디터 적용 // 모바일에서는 G5_IS_MOBILE_DHTML_USE 설정에 따라 DHTML 에디터 적용