Skip to content

Commit f091f23

Browse files
committed
Disable audio help button when not available instead of hiding
<rikaitan.link>YzNjNTNmZWU1ODJjN2JhM2E5YzZkY2E0YjEyMzNkYTI4NjBjZTQxYgo=</rikaitan.link>
1 parent 9bc5456 commit f091f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/js/pages/settings/audio-controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,10 +471,10 @@ class AudioSourceEntry {
471471
break;
472472
}
473473

474-
/** @type {?HTMLElement} */
474+
/** @type {?HTMLButtonElement} */
475475
const helpNode = menu.bodyNode.querySelector('.popup-menu-item[data-menu-action=help]');
476476
if (helpNode !== null) {
477-
helpNode.hidden = !hasHelp;
477+
helpNode.disabled = !hasHelp;
478478
}
479479
}
480480

0 commit comments

Comments
 (0)