Bug Tracker

Ticket #2313: browserversion.diff

File browserversion.diff, 519 bytes (added by cloudream, 14 years ago)
  • core.js

     
    12131213
    12141214// Figure out what browser is being used
    12151215jQuery.browser = {
    1216         version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [])[1],
     1216        version: (userAgent.match( /.+(?:ie|rv|it|ra)[\/: ]([\d.]+)/ ) || [])[1],
    12171217        safari: /webkit/.test( userAgent ),
    12181218        opera: /opera/.test( userAgent ),
    12191219        msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),