Bug Tracker

Opened 13 years ago

Closed 13 years ago

#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:
Blocked by: Blocking:


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 (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.