From: ScottDowne Date: Mon, 21 Mar 2011 20:53:55 +0000 (-0400) Subject: [#443] googlefeed script loaded bug X-Git-Tag: v0.4.1~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=31d4e8316494efb6a707a027f41c7d68076b3219;p=popcorn-js.git [#443] googlefeed script loaded bug --- 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);