Mr.doob 9 месяцев назад
Родитель
Сommit
d7bdef587e
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      devtools/background.js

+ 0 - 2
devtools/background.js

@@ -32,8 +32,6 @@ chrome.runtime.onConnect.addListener( port => {
 		if ( tabId ) {
 
 			connections.delete( tabId );
-			// Clear badge if devtools panel is closed for this tab
-			chrome.action.setBadgeText( { tabId: tabId, text: '' } ).catch( () => { /* Tab might be gone */ } );
 
 		}
 

粤ICP备19079148号