Prevent reopen tab on closing tabs.

This commit is contained in:
Martin Edenhofer 2016-03-28 10:55:15 +02:00
parent 77c7a421f5
commit e2f824e301
2 changed files with 1 additions and 1 deletions

View file

@ -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

View file

@ -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()