Browse Source

code review

pull/2/head
gorhill 10 years ago
parent
commit
0b1ddfa17b
  1. 4
      src/js/messaging.js

4
src/js/messaging.js

@ -262,8 +262,8 @@ var matrixSnapshot = function(tabId, details) {
/******************************************************************************/ /******************************************************************************/
var matrixSnapshotFromTabId = function(details, callback) { var matrixSnapshotFromTabId = function(details, callback) {
if ( details.targetTabId ) {
callback(matrixSnapshot(details.targetTabId, details));
if ( details.tabId ) {
callback(matrixSnapshot(details.tabId, details));
return; return;
} }

Loading…
Cancel
Save