OSDN Git Service
(root)
/
fswiki
/
fswiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e449f8
)
正規表現間違えた><
author
takezoe
<takezoe@users.osdn.me>
Sat, 23 Oct 2010 16:06:03 +0000
(16:06 +0000)
committer
takezoe
<takezoe@users.osdn.me>
Sat, 23 Oct 2010 16:06:03 +0000
(16:06 +0000)
lib/Util.pm
patch
|
blob
|
history
diff --git
a/lib/Util.pm
b/lib/Util.pm
index
7393012
..
32b1b1b
100644
(file)
--- a/
lib/Util.pm
+++ b/
lib/Util.pm
@@
-285,7
+285,7
@@
sub smartphone {
if(!defined($ua)){
return 0;
}
- if($ua =~ /Android/
/
|| $ua =~ /iPhone/){
+ if($ua =~ /Android/ || $ua =~ /iPhone/){
return 1;
} else {
return 0;