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:
Scott Taylor 2014-03-02 23:06:12 +00:00
parent 9c9aa55274
commit 9629e97d38
1 changed files with 6 additions and 4 deletions

View File

@ -1947,11 +1947,12 @@
text: l10n.cancelPlaylistTitle, text: l10n.cancelPlaylistTitle,
priority: 20, priority: 20,
click: function() { click: function() {
if ( previous ) if ( previous ) {
frame.setState( previous ); frame.setState( previous );
else } else {
frame.close(); frame.close();
} }
}
}, },
separateCancel: new media.View({ separateCancel: new media.View({
className: 'separator', className: 'separator',
@ -1970,11 +1971,12 @@
text: l10n.cancelVideoPlaylistTitle, text: l10n.cancelVideoPlaylistTitle,
priority: 20, priority: 20,
click: function() { click: function() {
if ( previous ) if ( previous ) {
frame.setState( previous ); frame.setState( previous );
else } else {
frame.close(); frame.close();
} }
}
}, },
separateCancel: new media.View({ separateCancel: new media.View({
className: 'separator', className: 'separator',