Enables sandbox on about window

This commit is contained in:
Josh Perez 2023-03-14 11:55:31 -04:00 committed by GitHub
parent 58691b2f5e
commit 4591b56f7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 262 additions and 93 deletions

View file

@ -2,6 +2,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
import { getInteractionMode } from '../../services/InteractionMode';
export type PropsType = {
id: string;
@ -22,7 +23,7 @@ export class InlineNotificationWrapper extends React.Component<PropsType> {
};
public handleFocus = (): void => {
if (window.getInteractionMode() === 'keyboard') {
if (getInteractionMode() === 'keyboard') {
this.setSelected();
}
};