mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 23:57:41 +02:00
Do not limit Shift/clicking checkboxes to .widefat tables
git-svn-id: http://svn.automattic.com/wordpress/trunk@9633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4bc175346f
commit
d0452528e7
@ -185,7 +185,7 @@ jQuery(document).ready( function($) {
|
||||
|
||||
// check all checkboxes
|
||||
var lastClicked = false;
|
||||
$( 'table.widefat tbody .check-column :checkbox' ).click( function(e) {
|
||||
$( 'table:visible tbody .check-column :checkbox' ).click( function(e) {
|
||||
if ( 'undefined' == e.shiftKey ) { return true; }
|
||||
if ( e.shiftKey ) {
|
||||
if ( !lastClicked ) { return true; }
|
||||
|
Loading…
Reference in New Issue
Block a user