Ver código fonte

Merge branch 'master' into dev

Mr.doob 9 anos atrás
pai
commit
e39520a6bf
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      editor/js/libs/app/index.html

+ 1 - 1
editor/js/libs/app/index.html

@@ -52,7 +52,7 @@
 					button.addEventListener( 'click', function ( event ) {
 
 						var url = location.href.split( '/' ).slice( 0, - 1 ).join( '/' );
-						location.href = 'http://threejs.org/editor/#file=https://crossorigin.me/' + url + '/app.json';
+						window.open( 'http://threejs.org/editor/#file=https://crossorigin.me/' + url + '/app.json' );
 
 					}, false );
 					document.body.appendChild( button );