diff options
| author | Marcin Łabanowski <marcin@6irc.net> | 2012-12-29 16:31:23 +0100 |
|---|---|---|
| committer | Marcin Łabanowski <marcin@6irc.net> | 2012-12-29 16:31:23 +0100 |
| commit | 468bcdf683827462891f4bf6419ad5a1907ee08b (patch) | |
| tree | 39e251f9607802eee72add0ef4f832c0c57540e5 /js/mobile-style.js | |
| parent | 69b52935eb408dc08a9583473c95e1b9a2f975f5 (diff) | |
mobile-style.js: add windows phone/tablet user agents
Diffstat (limited to 'js/mobile-style.js')
| -rw-r--r-- | js/mobile-style.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mobile-style.js b/js/mobile-style.js index 4c50d0e0..9a171da9 100644 --- a/js/mobile-style.js +++ b/js/mobile-style.js @@ -1,5 +1,5 @@ onready(function(){ - if(navigator.userAgent.match(/iPhone|iPod|iPad|Android|Opera Mini|Blackberry|PlayBook/i)) { + if(navigator.userAgent.match(/iPhone|iPod|iPad|Android|Opera Mini|Blackberry|PlayBook|Windows Phone|Tablet PC|Windows CE|IEMobile/i)) { $('html').addClass("mobile-style"); } else { |
