From 468bcdf683827462891f4bf6419ad5a1907ee08b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=81abanowski?= Date: Sat, 29 Dec 2012 16:31:23 +0100 Subject: [PATCH] mobile-style.js: add windows phone/tablet user agents --- js/mobile-style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {