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,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
Block a user