Modify ↓
Ticket #9710 (closed bug: invalid)
jquery.browser.version fail in Firefox 4.0
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | misc | Version: | 1.6.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
While in Firefox 5.0 jquery.browser.version return a correct value, it returns "2.0" with firefox 4.0 ! I have the usual userAgent string, that is
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0"
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Thanks for submitting a ticket to the jQuery Project!. As per our docs on $.browser, $.browser.version:
Returns the version number of the rendering engine used by the user's current browser. For example, FireFox 4 returns 2.0 (the version of the Gecko rendering engine it utilizes). which is correct as per what you mention in your ticket.