mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user