Permalink
Browse files

Add ipad to OS detection in browser plugin [Issue #9]

  • Loading branch information...
1 parent 87b3a57 commit 4d2d5830aa8394754ec46c9344f6efea0350f3b5 @BluSyn BluSyn committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.reject.js
View
@@ -522,7 +522,7 @@ var _scrollSize = function() {
], /(applewebkit|rv|konqueror|msie)(\:|\/|\s)([a-z0-9\.]*?)(\;|\)|\s)/);
$.os = {
- name: (/(win|mac|linux|sunos|solaris|iphone)/.
+ name: (/(win|mac|linux|sunos|solaris|iphone|ipad)/.
exec(navigator.platform.toLowerCase()) || [u])[0]
.replace('sunos', 'solaris')
};

0 comments on commit 4d2d583

Please sign in to comment.