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 1919 }
2020 },
2121 "commands" : {
22+ "_execute_browser_action" : {
23+ },
2224 "launch-element-zapper" : {
2325 "description" : " __MSG_popupTipZapper__"
2426 },
Original file line number Diff line number Diff line change 204204 const template = document . querySelector ( '#templates .commandEntry' ) ;
205205 const tbody = document . querySelector ( '.commandEntries tbody' ) ;
206206 for ( const command of commands ) {
207- if ( command . description === '' ) { continue ; }
207+ if (
208+ typeof command . description !== 'string' ||
209+ command . description === '' )
210+ {
211+ continue ;
212+ }
208213 const tr = template . cloneNode ( true ) ;
209214 tr . setAttribute ( 'data-name' , command . name ) ;
210215 tr . querySelector ( '.commandDesc' ) . textContent = command . description ;
You can’t perform that action at this time.
0 commit comments