1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-26 10:01:08 +12:00

code review

This commit is contained in:
gorhill 2015-04-13 15:05:53 -04:00
parent 5f177a2e30
commit 0b1ddfa17b

View file

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