Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
d71a4fff
Commit
d71a4fff
authored
May 12, 2015
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
タッチ対応のPCでプレビュー出来ない問題暫定対応
parent
4ae43172
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
abvw-preview/common/js/common.js
+5
-4
No files found.
abvw-preview/common/js/common.js
View file @
d71a4fff
...
@@ -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
;
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment