From 75f3605008b7ea1ea7bb498989afde53b78c990b Mon Sep 17 00:00:00 2001 From: ScottDowne Date: Fri, 10 Jun 2011 11:21:28 -0400 Subject: [PATCH] wordriver not breaking firefox 3.6 --- plugins/wordriver/popcorn.wordriver.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/wordriver/popcorn.wordriver.js b/plugins/wordriver/popcorn.wordriver.js index 2fe6359..a863c10 100644 --- a/plugins/wordriver/popcorn.wordriver.js +++ b/plugins/wordriver/popcorn.wordriver.js @@ -23,7 +23,8 @@ supports = {}, prop; - document.head.appendChild( span ); + document.getElementsByTagName("head")[0].appendChild( span ); + for ( var sIdx = 0, sLen = specProp.length; sIdx < sLen; sIdx++ ) { @@ -40,7 +41,7 @@ } // Garbage collect support test span - document.head.removeChild( span ); + document.getElementsByTagName("head")[0].appendChild( span ); Popcorn.plugin( "wordriver" , { -- 2.43.0