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) =>
|
remove: (e, key = false, force = false) =>
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
e.stopPropagation()
|
||||||
if !key
|
if !key
|
||||||
key = $(e.target).parents('a').data('key')
|
key = $(e.target).parents('a').data('key')
|
||||||
if !key
|
if !key
|
||||||
|
|
|
@ -464,7 +464,6 @@ class _taskManagerSingleton extends App.Controller
|
||||||
# if task isnt already stored on backend
|
# if task isnt already stored on backend
|
||||||
return if !task.id
|
return if !task.id
|
||||||
App.Taskbar.destroy(task.id)
|
App.Taskbar.destroy(task.id)
|
||||||
return
|
|
||||||
|
|
||||||
tasksInitial: =>
|
tasksInitial: =>
|
||||||
@init()
|
@init()
|
||||||
|
|
Loading…
Reference in a new issue