Skip to content

Commit

Permalink
add support WindowsPhone
Browse files Browse the repository at this point in the history
  • Loading branch information
uzulla committed Dec 20, 2015
1 parent c58457e commit 6669a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Yancha/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ sub load_plugins {

sub is_smartphone {
my ( $self, $ua ) = @_;
return ($ua =~ m/(iPod|iPhone|iPad|Android|PlayStation Vita)/);
return ($ua =~ m/(iPod|iPhone|iPad|Android|PlayStation Vita|Windows Phone)/);
}

1;

0 comments on commit 6669a5e

Please sign in to comment.