Permalink
Browse files

Always update chrome.current context

  • Loading branch information...
1 parent f150152 commit 7957aa5b787007841b9ca432db164db4563a97ae @janodvarko janodvarko committed May 24, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 content/httpmonitor/net/netMonitor.js
@@ -163,8 +163,7 @@ var NetMonitor = Obj.extend(Module,
// It's normally created by httpmonitor/chrome/tabWatcher module, but
// in case HTTPM is embedded in another project the context is provided
// by the parent project.
- if (!Chrome.currentContext)
- Chrome.currentContext = context;
+ Chrome.currentContext = context;
return netProgress;
},

0 comments on commit 7957aa5

Please sign in to comment.