editor: fix new session sidepanel auto opening
This commit is contained in:
parent
1d912c08a1
commit
0f1e5be878
1 changed files with 2 additions and 1 deletions
|
|
@ -99,7 +99,8 @@ var callbacks = module.exports = {
|
|||
|
||||
sessionNew: function(){
|
||||
init([{}],function(){
|
||||
$('#open-toggle, .enable-editor').click()
|
||||
$('.enable-editor').click()
|
||||
$('#open-toggle').trigger('fake-click')
|
||||
$('.editor-root').trigger('fake-click')
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue