Skip to content

Commit d7bdef5

Browse files
committed
Removed unneeded code.
1 parent ada623a commit d7bdef5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

devtools/background.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ chrome.runtime.onConnect.addListener( port => {
3232
if ( tabId ) {
3333

3434
connections.delete( tabId );
35-
// Clear badge if devtools panel is closed for this tab
36-
chrome.action.setBadgeText( { tabId: tabId, text: '' } ).catch( () => { /* Tab might be gone */ } );
3735

3836
}
3937

0 commit comments

Comments
 (0)