mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-29 03:21:09 +12:00
code review
This commit is contained in:
parent
5f177a2e30
commit
0b1ddfa17b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue