We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bf5ac0 commit e2fdc1bCopy full SHA for e2fdc1b
platform/firefox/manifest.json
@@ -19,6 +19,8 @@
19
}
20
},
21
"commands": {
22
+ "_execute_browser_action": {
23
+ },
24
"launch-element-zapper": {
25
"description": "__MSG_popupTipZapper__"
26
src/js/shortcuts.js
@@ -204,7 +204,12 @@
204
const template = document.querySelector('#templates .commandEntry');
205
const tbody = document.querySelector('.commandEntries tbody');
206
for ( const command of commands ) {
207
- if ( command.description === '' ) { continue; }
+ if (
208
+ typeof command.description !== 'string' ||
209
+ command.description === '' )
210
+ {
211
+ continue;
212
+ }
213
const tr = template.cloneNode(true);
214
tr.setAttribute('data-name', command.name);
215
tr.querySelector('.commandDesc').textContent = command.description;
0 commit comments