Skip to content

Commit 800d67d

Browse files
committed
fixed port access
1 parent d7f9b05 commit 800d67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/background-script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function notify(message) {
1616
const relevantURL = con.port.sender.url.split('?')[0].split('#')[0]
1717
if (~granted.indexOf(relevantURL)) {
1818
connectPort(con.stream)
19-
portConnections[port.sender.tab.id].connected = true
19+
portConnections[con.port.sender.tab.id].connected = true
2020
} else {
2121
con.stream.abort()
2222
}

0 commit comments

Comments
 (0)