Permalink
Browse files

Updated useragents.js with Chrome for Android detection and added it …

…to the content editable whitelist (thanks Paul)
  • Loading branch information...
1 parent 68a102e commit c7344c8fc5e3404194365ea00ed75145649446d6 @NielsLeenheer NielsLeenheer committed Feb 7, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 index.html
  2. +1 −1 useragents.js
View
@@ -37,7 +37,7 @@
<link rel="stylesheet" href="css/main.css?2.21" type="text/css">
- <script src='useragents.js?2.5.4' type='text/javascript'></script>
+ <script src='useragents.js?2.5.5' type='text/javascript'></script>
<link rel="icon" href="icon.png">
<link rel="apple-touch-icon" href="button.png">
@@ -2767,7 +2767,7 @@
this.section.setTitle('HTML editing')
- var whitelist = Browsers.iOS >= 5 || Browsers.Android >= 4 || Browsers.WindowsPhone >= 7.5 || Browsers.BlackBerry || Browsers.Firefox || Browsers.Opera || Browsers.Meego;
+ var whitelist = Browsers.iOS >= 5 || Browsers.Android >= 4 || Browsers.WindowsPhone >= 7.5 || Browsers.BlackBerry || Browsers.Firefox || Browsers.Opera || Browsers.Chrome || Browsers.Meego;
var blocked = (Browsers.mobile || Browsers.tablet) && ! whitelist;
if ('contentEditable' in element && blocked) {
View

0 comments on commit c7344c8

Please sign in to comment.