Gallery is a no-UI post format.

git-svn-id: https://develop.svn.wordpress.org/trunk@23863 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2013-03-29 12:17:52 +00:00
parent 07f5ffd015
commit a7d3775328
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
window.wp = window.wp || {}; window.wp = window.wp || {};
(function($) { (function($) {
var container, mediaFrame, lastMimeType, lastMenu, mediaPreview, noUIFormats = ['standard', 'chat', 'status', 'aside']; var container, mediaFrame, lastMimeType, lastMenu, mediaPreview, noUIFormats = ['standard', 'chat', 'status', 'aside', 'gallery'];
function switchFormatClass( format ) { function switchFormatClass( format ) {
container.get(0).className = container.get(0).className.replace( /\bwp-format-[^ ]+/, '' ); container.get(0).className = container.get(0).className.replace( /\bwp-format-[^ ]+/, '' );