提交 932b6236 编写于 作者: 林炳权

fixes layout error

上级 8e03c30d
......@@ -52,13 +52,9 @@ Sidebar.Script = function ( editor ) {
var scripts = editor.scripts[ object.uuid ];
if ( scripts !== undefined ) {
if ( scripts !== undefined && scripts.length > 0 ) {
if ( scripts.length > 0 ) {
scriptsContainer.setDisplay( 'block' );
}
scriptsContainer.setDisplay( 'block' );
for ( var i = 0; i < scripts.length; i ++ ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册