Mercurial > hg-website
diff static/javascript/typeface.js @ 279:b9105ed958a4
typeface: temporarly fix rendering on IE8 64bit
author | David Soria Parra <dsp@php.net> |
---|---|
date | Sun, 01 Nov 2009 22:13:36 +0100 |
parents | 84f2a6a16bd2 |
children |
line wrap: on
line diff
--- a/static/javascript/typeface.js Sun Nov 01 21:05:59 2009 +0100 +++ b/static/javascript/typeface.js Sun Nov 01 22:13:36 2009 +0100 @@ -26,6 +26,10 @@ OTHER DEALINGS IN THE SOFTWARE. *****************************************************************/ +if (/MSIE/i.test(navigator.userAgent) && /x64/i.test(navigator.userAgent)) { + var _typeface_js = {}; + window._typeface_js = _typeface_js; +} else { (function() { @@ -834,3 +838,4 @@ try { console.log('initializing typeface.js') } catch(e) {}; })(); +}