Skip to content

Commit 76d9923

Browse files
author
Jonathan
committed
fix toggle #2950
1 parent a69b026 commit 76d9923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/display/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ export default class Display {
519519
if (this.optionsStore.options.display.keyboardNavigation) {
520520
this.widget.removeEventListener('keydown', this._keyboardEventBound);
521521
}
522-
this.optionsStore.toggle.focus();
522+
this.optionsStore.toggle?.focus();
523523
}
524524

525525
/**

0 commit comments

Comments
 (0)