File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 19
19
}
20
20
},
21
21
"commands" : {
22
+ "_execute_browser_action" : {
23
+ },
22
24
"launch-element-zapper" : {
23
25
"description" : " __MSG_popupTipZapper__"
24
26
},
Original file line number Diff line number Diff line change 204
204
const template = document . querySelector ( '#templates .commandEntry' ) ;
205
205
const tbody = document . querySelector ( '.commandEntries tbody' ) ;
206
206
for ( const command of commands ) {
207
- if ( command . description === '' ) { continue ; }
207
+ if (
208
+ typeof command . description !== 'string' ||
209
+ command . description === '' )
210
+ {
211
+ continue ;
212
+ }
208
213
const tr = template . cloneNode ( true ) ;
209
214
tr . setAttribute ( 'data-name' , command . name ) ;
210
215
tr . querySelector ( '.commandDesc' ) . textContent = command . description ;
You can’t perform that action at this time.
0 commit comments