diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-09-24 12:43:44 +0200 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-09-24 12:43:44 +0200 |
commit | 2f60361a7b2c6300c1bca883f722aedc01ae9408 (patch) | |
tree | 5054bc0cb0af7692ec22f6ea0072cb2e726b4e0a /.themes/classic | |
parent | e7032f2f67288a98ef5787144fda73acc52602b9 (diff) | |
download | my_new_personal_website-2f60361a7b2c6300c1bca883f722aedc01ae9408.tar.xz my_new_personal_website-2f60361a7b2c6300c1bca883f722aedc01ae9408.zip |
Fixes child selector for param[name=movie], #168
Diffstat (limited to '')
-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 a23ab502..1b1f90fc 100644 --- a/.themes/classic/source/javascripts/octopress.js +++ b/.themes/classic/source/javascripts/octopress.js @@ -89,7 +89,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); } |