Fix #1389 improve handling of viewport meta tag

- viewport 설정에 빈 값을 저장한 경우 메타 태그를 출력하지 않음
- 단, 아예 설정이 없는 경우(XE 또는 구버전에서 업그레이드한 경우)에는 예외
This commit is contained in:
Kijin Sung 2020-08-27 21:15:11 +09:00
parent 28d71acffd
commit 82bf017f01
6 changed files with 18 additions and 3 deletions

View file

@ -9,6 +9,11 @@ class HTMLDisplayHandler
const JQUERY_V1 = '1.12.4';
const JQUERY_V2 = '2.2.4';
/**
* Default viewport setting
*/
const DEFAULT_VIEWPORT = 'width=device-width, initial-scale=1.0, user-scalable=yes';
/**
* Reserved scripts
*/