Skip to content
This repository was archived by the owner on Aug 13, 2018. It is now read-only.

Commit 227eec7

Browse files
committed
Fix lint
1 parent 224066c commit 227eec7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chrome/content/network-content-script.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
*/
2020
if (EVENTS.REQUEST_ITEM_CLICKED) {
2121
window.on(EVENTS.REQUEST_ITEM_CLICKED, (_, e, item) => {
22-
if (e.target.closest(".request-list-item.websocket .requests-menu-method")) {
22+
let target = ".request-list-item.websocket .requests-menu-method";
23+
if (e.target.closest(target)) {
2324
navigateToWebSocketPanel(item.id);
2425
}
2526
});

0 commit comments

Comments
 (0)