After [29811], combine 2 if
statements.
git-svn-id: https://develop.svn.wordpress.org/trunk@29812 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7711e9648c
commit
f52ca9047e
@ -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
Block a user