changeset 24:f7c3f977da53

Update to latest version of jetpack
author Atul Varma <varmaa@toolness.com>
date Mon, 11 May 2009 00:15:15 -0700
parents f90dcea4d6b8
children 7463235c32bd
files sample-jetpack-feed/sample-jetpack-feed.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sample-jetpack-feed/sample-jetpack-feed.js	Sun May 10 15:10:09 2009 -0700
+++ b/sample-jetpack-feed/sample-jetpack-feed.js	Mon May 11 00:15:15 2009 -0700
@@ -1,7 +1,7 @@
 addStatusBarPanel({
   html: "<p>kill flash</p>",
   onLoad: function(panel) {
-    var button = $(panel.document).find("p");
+    var button = $(panel).find("p");
     button.css({cursor: "pointer", fontFamily: "sans-serif"});
     button.click(function() {
       var doc = $(Application.activeWindow.activeTab.document);