Ticket #6469 (closed bug: fixed)
API Documentation Site JS Error on Enter Key press (in Firefox)
| Reported by: | sean2078 | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | unfiled | Version: | 1.4.2 |
| Keywords: | api documentation website | Cc: | |
| Blocking: | Blocked by: |
Description
While browsing API documentation in Firefox (version 3.5.2 for ex) - specifically at URL " http://api.jquery.com/?ns0=1&s=height%28%29" - if the user presses the up or down arrow keys, those work fine and navigate the list. However, if the enter key is pressed, a JavaScript error results and the user is not navigated to the documentation page for that item.
Error in file: http://static.jquery.com/api/navi.js
Error line: 169
Error line code: $(event.target).closest('form')[0].submit();
Error message: $(event.target).closest("form")[0] is undefined
Since it should be a simple fix, it would be very nice to have this corrected soon. Thank you.
Please don't close / ignore bug if filed incorrectly - I have searched for the issue and have done my best to log this in the best location possible.
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.
