We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c45492 commit 93c9bd8Copy full SHA for 93c9bd8
1 file changed
webextensions/sidebar/sidebar-tabs.js
@@ -835,7 +835,7 @@ function tryApplyUpdate(update) {
835
if (!tab)
836
return;
837
838
- const highlightedChanged = 'highlighted' in update.updatedProperties;
+ const highlightedChanged = update.updatedProperties && 'highlighted' in update.updatedProperties;
839
840
if (update.updatedProperties) {
841
for (const key of Object.keys(update.updatedProperties)) {
0 commit comments