[wp-trac] [WordPress Trac] #31545: Comments "hotkeys" tweaks needed after recent changes to table structure
WordPress Trac
noreply at wordpress.org
Fri Mar 6 00:32:10 UTC 2015
#31545: Comments "hotkeys" tweaks needed after recent changes to table structure
----------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: trunk
Severity: normal | Keywords:
Focuses: ui, javascript |
----------------------------+-----------------------------
When using comments "hotkeys" on first load pressing "j" or "k" should
highlight the first comment but highlights the second one. Also, when in a
second page of paginated comments, pressing "k" on the first comment
should bring you back to the first page and highlight the last comment,
but the `<tfoot>` row is highlighted instead.
Broken when moving `<tfoot>` after `<tbody>` in r31513 see #30914.
Proposed patch uses a more specific selector to target just the table
`<tbody>` rows and adjusts the `start_row_index` option.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31545>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list