Add some braces for `jshint` in `media-views.js`.
See #26631. Props gcorne. Built from https://develop.svn.wordpress.org/trunk@27361 git-svn-id: http://core.svn.wordpress.org/trunk@27211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8fa00f68e7
commit
330f27f095
|
@ -1947,11 +1947,12 @@
|
|||
text: l10n.cancelPlaylistTitle,
|
||||
priority: 20,
|
||||
click: function() {
|
||||
if ( previous )
|
||||
if ( previous ) {
|
||||
frame.setState( previous );
|
||||
else
|
||||
} else {
|
||||
frame.close();
|
||||
}
|
||||
}
|
||||
},
|
||||
separateCancel: new media.View({
|
||||
className: 'separator',
|
||||
|
@ -1970,11 +1971,12 @@
|
|||
text: l10n.cancelVideoPlaylistTitle,
|
||||
priority: 20,
|
||||
click: function() {
|
||||
if ( previous )
|
||||
if ( previous ) {
|
||||
frame.setState( previous );
|
||||
else
|
||||
} else {
|
||||
frame.close();
|
||||
}
|
||||
}
|
||||
},
|
||||
separateCancel: new media.View({
|
||||
className: 'separator',
|
||||
|
|
Loading…
Reference in New Issue