Commit 6816b0a3 authored by campaign's avatar campaign

修改在没有按钮时,toolbar还是会显示个原点的问题

parent 7ddb9c32
...@@ -55,8 +55,11 @@ utils.extend( KityMinder, function () { ...@@ -55,8 +55,11 @@ utils.extend( KityMinder, function () {
} ); } );
btns.length && $toolbar.kmui().appendToBtnmenu( btns ); btns.length && $toolbar.kmui().appendToBtnmenu( btns );
} ); } );
$toolbar.append( $( '<div class="kmui-dialog-container"></div>' ) );
}else{
$toolbar.hide()
} }
$toolbar.append( $( '<div class="kmui-dialog-container"></div>' ) );
}, },
_createStatusbar: function ( $statusbar, km ) { _createStatusbar: function ( $statusbar, km ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment