aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-09-24 12:43:44 +0200
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-09-24 12:43:44 +0200
commit2f60361a7b2c6300c1bca883f722aedc01ae9408 (patch)
tree5054bc0cb0af7692ec22f6ea0072cb2e726b4e0a /.themes/classic
parente7032f2f67288a98ef5787144fda73acc52602b9 (diff)
downloadmy_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.js2
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);
}