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

Unified Diff: chrome/common.js

Issue 6273189772525568: Fixed regression: Clickhide functionality broken (Closed)
Patch Set: Made it work with sendMessage/onMessage Created Nov. 19, 2013, 12:21 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 | « background.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common.js
===================================================================
--- a/chrome/common.js
+++ b/chrome/common.js
@@ -63,7 +63,7 @@
_wrapListener: function(listener) {
return function(message, sender, sendResponse)
{
- listener(message, {tab: sender.tab && new Tab(sender.tab)}, sendResponse);
+ return listener(message, {tab: sender.tab && new Tab(sender.tab)}, sendResponse);
};
}
};
« no previous file with comments | « background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld