mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-13 12:29:58 +02:00
auto save only when its supported
This commit is contained in:
@@ -910,7 +910,7 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
.querySelector(".excalidraw")
|
||||
?.classList.toggle("theme--dark", this.state.theme === "dark");
|
||||
|
||||
if (this.state.autoSave && this.state.fileHandle) {
|
||||
if (this.state.autoSave && this.state.fileHandle && supported) {
|
||||
try {
|
||||
this.saveLocalSceneDebounced(
|
||||
this.scene.getElementsIncludingDeleted(),
|
||||
|
Reference in New Issue
Block a user