Ticket #1641: 1641_3.patch

File 1641_3.patch, 0.6 KB (added by fredck, 12 months ago)
  • editor/_source/internals/fckbrowserinfo.js

     
    2626var FCKBrowserInfo = 
    2727{ 
    2828        IsIE            : /*@cc_on!@*/false, 
    29         IsIE7           : /*@cc_on!@*/false && ( parseFloat( s.match( /msie ([\d|\.]+)/ )[1] ) >= 7 ), 
     29        IsIE7           : /*@cc_on!@*/false && ( parseInt( s.match( /msie (\d+)/ )[1] ) >= 7 ), 
    3030        IsGecko         : s.Contains('gecko/'), 
    3131        IsSafari        : s.Contains(' applewebkit/'),          // Read "IsWebKit" 
    3232        IsOpera         : !!window.opera,