Hide the "You are using the multi-file uploader. Problems? Try the browser uploader instead." when Plupload falls back to "html4" runtime, fixes #19496

git-svn-id: https://develop.svn.wordpress.org/trunk@22305 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2012-10-25 20:53:38 +00:00
parent 3583696de7
commit b9fa351736
1 changed files with 3 additions and 0 deletions

View File

@ -428,6 +428,9 @@ jQuery(document).ready(function($){
uploaddiv.removeClass('drag-drop'); uploaddiv.removeClass('drag-drop');
$('#drag-drop-area').unbind('.wp-uploader'); $('#drag-drop-area').unbind('.wp-uploader');
} }
if ( up.runtime == 'html4' )
$('.upload-flash-bypass').hide();
}); });
uploader.init(); uploader.init();