1
0
ycw 1 жил өмнө
parent
commit
232b4eac8c

+ 2 - 2
editor/index.html

@@ -106,13 +106,13 @@
 
 
 			editor.storage.init( function () {
 			editor.storage.init( function () {
 
 
-				editor.storage.get( function ( state ) {
+				editor.storage.get( async function ( state ) {
 
 
 					if ( isLoadingFromHash ) return;
 					if ( isLoadingFromHash ) return;
 
 
 					if ( state !== undefined ) {
 					if ( state !== undefined ) {
 
 
-						editor.fromJSON( state );
+						await editor.fromJSON( state );
 
 
 					}
 					}
 
 

粤ICP备19079148号