Browse Source

Editor: Reverted confirm prompt.

Mr.doob 9 years ago
parent
commit
bc54c498cd
1 changed files with 1 additions and 5 deletions
  1. 1 5
      editor/js/Loader.js

+ 1 - 5
editor/js/Loader.js

@@ -511,11 +511,7 @@ var Loader = function ( editor ) {
 
 			case 'app':
 
-				if ( confirm( 'Any unsaved data will be lost. Are you sure?' ) ) {
-
-					editor.fromJSON( data );
-
-				}
+				editor.fromJSON( data );
 
 				break;