| Index: subscriptionLink.postload.js |
| =================================================================== |
| --- a/subscriptionLink.postload.js |
| +++ b/subscriptionLink.postload.js |
| @@ -88,16 +88,16 @@ |
| title = url; |
| // Trim spaces in title and URL |
| title = title.trim(); |
| url = url.trim(); |
| if (!/^(https?|ftp):/.test(url)) |
| return; |
| - ext.backgroundPage.sendMessage({ |
| + chrome.runtime.sendMessage({ |
| type: "subscriptions.add", |
| title, |
| url, |
| confirm: true |
| }); |
| }, true); |
| } |