Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: background.js

Issue 6273189772525568: Fixed regression: Clickhide functionality broken (Closed)
Patch Set: Created Nov. 19, 2013, 12:02 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -571,7 +571,8 @@
});
break;
case "forward":
- tab.sendMessage(msg.payload, sendResponse);
+ if (sender.tab)
+ sender.tab.sendMessage(msg.payload, sendResponse);
break;
default:
sendResponse({});
« no previous file with comments | « no previous file | chrome/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld