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:
parent
3583696de7
commit
b9fa351736
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue