lobby: fix remove from history handler
This commit is contained in:
parent
3e720b072e
commit
d19bc1b38c
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ var SessionManager = class SessionManager {
|
|||
e.preventDefault()
|
||||
if (e.target.hasAttribute('data-session')) {
|
||||
ipc.send('sessionOpen',{path:e.target.getAttribute('data-session')})
|
||||
} else if (!READ_ONLY && e.target.tagName == 'span') {
|
||||
} else if (!READ_ONLY && e.target.tagName == 'SPAN') {
|
||||
ipc.send('sessionRemoveFromHistory',e.target.parentNode.getAttribute('data-session'))
|
||||
lobby.list.removeChild(e.target.parentNode)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue