diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-09-25 09:15:14 -0500 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-09-25 09:15:14 -0500 |
commit | c26e5c3be9ee717caae34a280ef5f38e98a1a322 (patch) | |
tree | 773ca806db7acaf20819a87e684739e0a81ce438 /.themes/classic/source/javascripts/octopress.js | |
parent | 9ef928588b32b055cf7f846b47ce0da36ef8af3c (diff) | |
parent | 2f60361a7b2c6300c1bca883f722aedc01ae9408 (diff) | |
download | my_new_personal_website-c26e5c3be9ee717caae34a280ef5f38e98a1a322.tar.xz my_new_personal_website-c26e5c3be9ee717caae34a280ef5f38e98a1a322.zip |
Merge branch 'master' of github.com:imathis/octopress
Diffstat (limited to '.themes/classic/source/javascripts/octopress.js')
-rw-r--r-- | .themes/classic/source/javascripts/octopress.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/javascripts/octopress.js b/.themes/classic/source/javascripts/octopress.js index d6cf4d91..29df1981 100644 --- a/.themes/classic/source/javascripts/octopress.js +++ b/.themes/classic/source/javascripts/octopress.js @@ -90,7 +90,7 @@ function flashVideoFallback(){ function wrapFlashVideos() { $('object').each(function(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(); $(wrapper).children().append(object); } |