diff options
author | robocoder <anthon.pang@gmail.com> | 2012-10-30 18:29:04 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2012-10-30 18:29:04 +0400 |
commit | d63eeab628be3e6637ef4a10e451db8ee6857a39 (patch) | |
tree | 0cf4e73907c668d649465ea071571c8fc96a1979 /js | |
parent | 4807356c603b619b6b4dcaae781cb6aae506748c (diff) |
refs #3416, fixes #3496 - fix RegExp typo; thanks pebosi
git-svn-id: http://dev.piwik.org/svn/trunk@7329 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'js')
-rw-r--r-- | js/piwik.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/piwik.js b/js/piwik.js index 8cd1ab11f8..d347f2f5e9 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -2053,7 +2053,7 @@ var gears: 'application/x-googlegears', ag: 'application/x-silverlight' }, - devicePixelRatio = (new Regexp('Mac OS X.*Safari/')).test(navigatorAlias.userAgent) ? windowAlias.devicePixelRatio || 1 : 1; + devicePixelRatio = (new RegExp('Mac OS X.*Safari/')).test(navigatorAlias.userAgent) ? windowAlias.devicePixelRatio || 1 : 1; if (!((new RegExp('MSIE')).test(navigatorAlias.userAgent))) { // general plugin detection |