Add some braces for `jshint` in `media-views.js`.
See #26631. Props gcorne. git-svn-id: https://develop.svn.wordpress.org/trunk@27361 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9c9aa55274
commit
9629e97d38
|
@ -1947,10 +1947,11 @@
|
|||
text: l10n.cancelPlaylistTitle,
|
||||
priority: 20,
|
||||
click: function() {
|
||||
if ( previous )
|
||||
if ( previous ) {
|
||||
frame.setState( previous );
|
||||
else
|
||||
} else {
|
||||
frame.close();
|
||||
}
|
||||
}
|
||||
},
|
||||
separateCancel: new media.View({
|
||||
|
@ -1970,10 +1971,11 @@
|
|||
text: l10n.cancelVideoPlaylistTitle,
|
||||
priority: 20,
|
||||
click: function() {
|
||||
if ( previous )
|
||||
if ( previous ) {
|
||||
frame.setState( previous );
|
||||
else
|
||||
} else {
|
||||
frame.close();
|
||||
}
|
||||
}
|
||||
},
|
||||
separateCancel: new media.View({
|
||||
|
|
Loading…
Reference in New Issue