Commit d71a4fff by Masaru Abe

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

parent 4ae43172
...@@ -2546,10 +2546,11 @@ function htmlEncode(value) { ...@@ -2546,10 +2546,11 @@ function htmlEncode(value) {
Check if browser is on touch device Check if browser is on touch device
*/ */
function isTouchDevice() { function isTouchDevice() {
var is_touch_device = 'ontouchstart' in document.documentElement; //プレビューはタッチデバイス無効化
if (is_touch_device) { //var is_touch_device = 'ontouchstart' in document.documentElement;
return true; //if (is_touch_device) {
} // return true;
//}
return false; 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