mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
Fixes child selector for param[name=movie], #168
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user