From 31d4e8316494efb6a707a027f41c7d68076b3219 Mon Sep 17 00:00:00 2001 From: ScottDowne Date: Mon, 21 Mar 2011 16:53:55 -0400 Subject: [PATCH] [#443] googlefeed script loaded bug --- plugins/googlefeed/popcorn.googlefeed.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/googlefeed/popcorn.googlefeed.js b/plugins/googlefeed/popcorn.googlefeed.js index 44168eb..dadf07e 100644 --- a/plugins/googlefeed/popcorn.googlefeed.js +++ b/plugins/googlefeed/popcorn.googlefeed.js @@ -7,7 +7,7 @@ if ( typeof google !== 'undefined' && google.load ) { - google.load( "feeds", "1", { callback: function () { _feedLoaded = true; } } ); + google.load( "feeds", "1", { callback: function () { scriptLoaded = true; } } ); } else { setTimeout( function() { @@ -67,7 +67,7 @@ var initialize = function() { //ensure that the script has been loaded - if ( !_feedLoaded ) { + if ( !scriptLoaded ) { setTimeout(function () { initialize(); }, 5); -- 2.43.0