| Index: chrome/content/ui/firstRun.js |
| =================================================================== |
| --- a/chrome/content/ui/firstRun.js |
| +++ b/chrome/content/ui/firstRun.js |
| @@ -208,17 +208,17 @@ |
| var link = E("share-" + network); |
| link.addEventListener("click", onSocialLinkClick, false); |
| }); |
| } |
| function onSocialLinkClick(event) |
| { |
| // Don't open the share page if the sharing script would be blocked |
| - var filter = defaultMatcher.matchesAny(event.target.getAttribute("_script"), "SCRIPT", "adblockplus.org", true); |
| + var filter = defaultMatcher.matchesAny(event.target.getAttribute("data-script"), "SCRIPT", "adblockplus.org", true); |
| if (!(filter instanceof BlockingFilter)) |
| { |
| event.preventDefault(); |
| openSharePopup(Utils.getDocLink(event.target.id)); |
| } |
| } |
| function setLinks(id) |