Merge branch 'master' of github.com:imathis/octopress

This commit is contained in:
Brandon Mathis 2011-09-25 09:15:14 -05:00
commit c26e5c3be9

View File

@ -90,7 +90,7 @@ function flashVideoFallback(){
function wrapFlashVideos() { function wrapFlashVideos() {
$('object').each(function(object) { $('object').each(function(object) {
object = $(object); object = $(object);
if (object.children('param[name=movie]')) { if ( $('param[name=movie]', object).length ) {
var wrapper = object.before('<div class="flash-video"><div>').previous(); var wrapper = object.before('<div class="flash-video"><div>').previous();
$(wrapper).children().append(object); $(wrapper).children().append(object);
} }