     @ul tabindex: -1, class: "list-inline tab-bar inset-panel"
 
   initialize: (@pane) ->
-    @command 'tabs:close-tab', => @closeTab(true)
+    @command 'tabs:close-tab', => @closeTab()
     @command 'tabs:close-other-tabs', => @closeOtherTabs()
     @command 'tabs:close-tabs-to-right', => @closeTabsToRight()
 


    @updateActiveTab()

    @on 'mousedown', '.tab', (e) =>
      tab = $(e.target).closest('.tab')
      view = tab.view()
      if e.which is 3 or (e.which is 1 and e.ctrlKey is true)
        $('.right-clicked').removeClass('right-clicked')
        tab.addClass('right-clicked')
      else if e.which is 1 and $(e.target).attr('class') isnt 'close-icon'
        @pane.showItem(view.item)
        @pane.focus()


    @setActiveTab(@tabForItem(@pane.activeItem))

  closeTab: (tab) ->
    tab ?= @children('.right-clicked').view()
    @pane.destroyItem(tab.item)

  closeOtherTabs: ->
