Commit d71a4fff by Masaru Abe

タッチ対応のPCでプレビュー出来ない問題暫定対応

parent 4ae43172
......@@ -2546,10 +2546,11 @@ function htmlEncode(value) {
Check if browser is on touch device
*/
function isTouchDevice() {
var is_touch_device = 'ontouchstart' in document.documentElement;
if (is_touch_device) {
return true;
}
//プレビューはタッチデバイス無効化
//var is_touch_device = 'ontouchstart' in document.documentElement;
//if (is_touch_device) {
// return true;
//}
return false;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment