After [29811], combine 2 `if` statements.
Built from https://develop.svn.wordpress.org/trunk@29812 git-svn-id: http://core.svn.wordpress.org/trunk@29578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b885885b67
commit
202ede7696
|
@ -6091,11 +6091,7 @@
|
|||
click: function() {
|
||||
var removed = [], selection = this.controller.state().get( 'selection' );
|
||||
|
||||
if ( ! selection.length ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! confirm( l10n.warnBulkDelete ) ) {
|
||||
if ( ! selection.length || ! confirm( l10n.warnBulkDelete ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue