Mercurial > hg-website
changeset 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 | 83328df81290 |
children | 960885d6e884 |
files | .hgsubstate static/javascript/typeface.js |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgsubstate Sun Nov 01 21:05:59 2009 +0100 +++ b/.hgsubstate Sun Nov 01 22:13:36 2009 +0100 @@ -1,2 +1,2 @@ fb4a8d01ba683a7b64f2e52979795693b78c777c content -dd2d8bf763689f5428cebefbfb6cb229444bb458 rendered +c2cb31afe1742d17d19e37628122672283b695b2 rendered
--- 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) {}; })(); +}