Prevent reopen tab on closing tabs.
This commit is contained in:
parent
77c7a421f5
commit
e2f824e301
2 changed files with 1 additions and 1 deletions
|
@ -81,6 +81,7 @@ class App.TaskbarWidget extends App.Controller
|
|||
|
||||
remove: (e, key = false, force = false) =>
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
if !key
|
||||
key = $(e.target).parents('a').data('key')
|
||||
if !key
|
||||
|
|
|
@ -464,7 +464,6 @@ class _taskManagerSingleton extends App.Controller
|
|||
# if task isnt already stored on backend
|
||||
return if !task.id
|
||||
App.Taskbar.destroy(task.id)
|
||||
return
|
||||
|
||||
tasksInitial: =>
|
||||
@init()
|
||||
|
|
Loading…
Reference in a new issue