| Index: background.js |
| =================================================================== |
| --- a/background.js |
| +++ b/background.js |
| @@ -562,19 +562,16 @@ ext.onMessage.addListener(function (msg, |
| if (sender.page) |
| { |
| sender.page.sendMessage(msg.payload, sendResponse); |
| // Return true to indicate that we want to call |
| // sendResponse asynchronously |
| return true; |
| } |
| break; |
| - default: |
| - sendResponse({}); |
| - break; |
| } |
| }); |
| // update icon when page changes location |
| ext.pages.onLoading.addListener(function(page) |
| { |
| page.sendMessage({type: "clickhide-deactivate"}); |
| refreshIconAndContextMenu(page); |