editor: don't select root when clicking on sidepanel toggle
This commit is contained in:
parent
c37bdbe4a1
commit
41393a267b
1 changed files with 4 additions and 1 deletions
|
|
@ -204,7 +204,10 @@ function sidepanelToggle() {
|
|||
|
||||
DOM.get('#container')[0].addEventListener('fake-click', function(e){
|
||||
|
||||
if (e.target.id == 'open-toggle') sidepanelToggle()
|
||||
if (e.target.id == 'open-toggle') {
|
||||
e.stopPropagation()
|
||||
sidepanelToggle()
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue