diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-10-30 09:41:04 +1300 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-10-30 09:41:04 +1300 |
commit | c0f8c0178a3cccead97fb0800a514b0ac9dbde64 (patch) | |
tree | 9d2f26feccaa85e73a7bc4985a1f899d9b89f730 /js/util.js | |
parent | 7f5fbee2e36889fae1d1c5043d76625e197e39ea (diff) | |
parent | 24c3a15124ab866bf7e9401f638156e102074608 (diff) |
Merge commit 'mainline/0.9.x' into 0.9.x
Diffstat (limited to 'js/util.js')
-rw-r--r-- | js/util.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/util.js b/js/util.js index 0a943512f..b079388e4 100644 --- a/js/util.js +++ b/js/util.js @@ -241,6 +241,9 @@ $(document).ready(function(){ alert(result); } else { + if($('body')[0].id == 'bookmarklet') { + self.close(); + } if ($("#command_result", xml).length > 0) { var result = document._importNode($("p", xml).get(0), true); result = result.textContent || result.innerHTML; |