Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1383)

Unified Diff: chrome/common/extensions/docs/templates/articles/devtools.html

Issue 1339173002: Fix devtools documentation issue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/templates/articles/devtools.html
diff --git a/chrome/common/extensions/docs/templates/articles/devtools.html b/chrome/common/extensions/docs/templates/articles/devtools.html
index 4d7fdf476ec82641272b69fb28cb6f2d0e48a1fc..4ad7cbbf58f0f114aa136856debd0308442a248d 100644
--- a/chrome/common/extensions/docs/templates/articles/devtools.html
+++ b/chrome/common/extensions/docs/templates/articles/devtools.html
@@ -209,7 +209,7 @@ chrome.runtime.onConnect.addListener(function(devToolsConnection) {
// add the listener
devToolsConnection.onMessage.addListener(devToolsListener);
- devToolsConnection.onDisconnect(function() {
+ devToolsConnection.onDisconnect.addListener(function() {
devToolsConnection.onMessage.removeListener(devToolsListener);
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698