:p
This commit is contained in:
@@ -2666,7 +2666,7 @@ function getTimelineLayersStateFromStorage() {
|
||||
selected: ""
|
||||
};
|
||||
}
|
||||
const state = localStorage.getItem(TIMELINE_LAYERS_STATE_STORAGE_ID);
|
||||
const state = typeof localStorage.getItem !== "undefined" ? localStorage.getItem(TIMELINE_LAYERS_STATE_STORAGE_ID) : null;
|
||||
return state ? JSON.parse(state) : {
|
||||
recordingState: false,
|
||||
mouseEventEnabled: false,
|
||||
|
||||
Reference in New Issue
Block a user