| Index: background.js |
| =================================================================== |
| --- a/background.js |
| +++ b/background.js |
| @@ -259,20 +259,16 @@ function addSubscription(prevVersion) |
| } |
| Prefs.addListener(function(name) |
| { |
| if (name == "shouldShowBlockElementMenu") |
| refreshIconAndContextMenuForAllPages(); |
| }); |
| -// TODO: This hack should be removed, however currently |
| -// the firstRun page still calls backgroundPage.openOptions() |
| -openOptions = ext.showOptions; |
| - |
| function prepareNotificationIconAndPopup() |
| { |
| var animateIcon = (activeNotification.type !== "question"); |
| activeNotification.onClicked = function() |
| { |
| if (animateIcon) |
| iconAnimation.stop(); |
| notificationClosed(); |