diff options
| author | Marcin Ćabanowski <marcin@6irc.net> | 2012-12-29 16:30:46 +0100 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-31 04:39:37 -0400 |
| commit | 2779db56cb080d1837d216d3c1f9b8c6aa013f08 (patch) | |
| tree | a345ee1e19d51df8ea92ce94eef3975777301747 /js | |
| parent | 4922828e35eca8b28135a681a6f5d0e9a93641fd (diff) | |
smartphone-spoiler.js: add windows phone/tablet user agents
Diffstat (limited to 'js')
| -rw-r--r-- | js/smartphone-spoiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/smartphone-spoiler.js b/js/smartphone-spoiler.js index ede273e4..54c7a9a1 100644 --- a/js/smartphone-spoiler.js +++ b/js/smartphone-spoiler.js @@ -11,7 +11,7 @@ */ 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)) { var spoilers = document.getElementsByClassName('spoiler'); for(var i = 0; i < spoilers.length; i++) { spoilers[i].onmousedown = function() { |
