File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
packages/app/src/embed/components/App Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,6 @@ type State = {
5050 theme : string ,
5151} ;
5252
53- const isSafari = ( ) => {
54- const ua = navigator . userAgent . toLowerCase ( ) ;
55- if ( ua . includes ( 'safari' ) ) {
56- return ! ua . includes ( 'chrome' ) ;
57- }
58-
59- return false ;
60- } ;
61-
6253export default class App extends React . PureComponent <
6354 {
6455 id ?: string ,
@@ -115,13 +106,7 @@ export default class App extends React.PureComponent<
115106 hideDevTools,
116107 tabs,
117108 theme,
118- runOnClick :
119- runOnClick === false
120- ? false
121- : runOnClick ||
122- navigator . appVersion . includes ( 'X11' ) ||
123- navigator . appVersion . includes ( 'Linux' ) ||
124- isSafari ( ) ,
109+ runOnClick,
125110 verticalMode,
126111 highlightedLines : highlightedLines || [ ] ,
127112 } ;
You can’t perform that action at this time.
0 commit comments