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:
Scott Taylor 2014-10-02 04:15:07 +00:00
parent 7711e9648c
commit f52ca9047e
1 changed files with 1 additions and 5 deletions

View File

@ -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;
}