提交 9a4cbaf8 编写于 作者: M Mr.doob

Editor: Fixed edit button.

上级 a95797a4
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
button.addEventListener( 'click', function ( event ) { button.addEventListener( 'click', function ( event ) {
var url = location.href.split( '/' ).slice( 0, - 1 ).join( '/' ); var url = location.href.split( '/' ).slice( 0, - 1 ).join( '/' );
window.open( 'http://threejs.org/editor/#file=https://crossorigin.me/' + url + '/app.json' ); window.open( 'http://threejs.org/editor/#file=' + url + '/app.json' );
}, false ); }, false );
document.body.appendChild( button ); document.body.appendChild( button );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册