Permalink
Browse files

Fixing some issues with the prefix for invocation in the share intent

  • Loading branch information...
1 parent 0d4a814 commit 25cec44b33f4faee7a9256c1a892ff54a8883b9a @PaulKinlan committed Aug 17, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 tools/chrome/extensions/share/background.js
  2. +1 −1 tools/chrome/extensions/share/manifest.json
@@ -4,7 +4,7 @@ function clickHandler(info, tab) {
info.mediaType == "audio") {
var i = new WebKitIntent({"action": "http://webintents.org/share", "type": info.mediaType + "/*", "data": info.srcUrl});
- window.navigator.startActivty(i);
+ window.navigator.webkitStartActivity(i);
}
else if(!!info.linkUrl) {
var i = new WebKitIntent({"action": "http://webintents.org/share", "type": "text/uri-list", "data": info.linkUrl });
@@ -17,7 +17,7 @@
"permissions" : [
"contextMenus"
],
- "version": "0.0.0.2",
+ "version": "0.0.0.3",
"minimum_chrome_version": "23.0.0.0",
"background": {
"scripts": ["background.js"]

0 comments on commit 25cec44

Please sign in to comment.