From: ScottDowne Date: Tue, 29 Jun 2010 22:43:46 +0000 (-0700) Subject: added default to news topic X-Git-Tag: v0.1~61^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3d5daefabb4fd8845ae6bafb96c1279112e1bab6;p=popcorn-js.git added default to news topic --- diff --git a/popcorn.js b/popcorn.js index 9ed483a..87156f7 100644 --- a/popcorn.js +++ b/popcorn.js @@ -169,7 +169,7 @@ var options = { format : "300x250", queryList : [ - {q: this.params.topic} + {q: this.params.topic || "Top Stories"} ] }; var newsShow = new google.elements.NewsShow(content, options);